Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Restore better error message on std::runtime_error.#9299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM
Looks like you need to fix the test now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Oh. You have to placestd::runtime_error
handling afterstd::overflow_error
because second inherits first andstd::runtime_error
catches both.
d6661f9
tobe87212
Comparefixed |
Backport PR#9299 on branch v2.1.x
attn@Kojoley#9289 (comment)
PR Summary
PR Checklist