-
Notifications
You must be signed in to change notification settings - Fork 168
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unify system error messages #4542
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.
Reviewable status: 1 unresolved discussion, 0 of 1 LGTMs obtained
flow-client/src/main/java/com/vaadin/client/SystemErrorHandler.java, line 116 at r1 (raw file):
*/ public void handleError(String errorMessage) { Console.error(errorMessage);
This is now logged twice: once here and again when calling the new handleError(caption, message, details)
.
You can move this line inside the if
-block below to still log it in production mode.
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.
Reviewable status: all discussions resolved, 0 of 1 LGTMs obtained
flow-client/src/main/java/com/vaadin/client/SystemErrorHandler.java, line 116 at r1 (raw file):
Previously, pekam (Pekka Maanpää) wrote…
This is now logged twice: once here and again when calling the new
handleError(caption, message, details)
.You can move this line inside the
if
-block below to still log it in production mode.
done
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.
Reviewed 1 of 1 files at r2.
Reviewable status: all discussions resolved, 0 of 1 LGTMs obtained, and 1 stale
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.
Reviewed 1 of 1 files at r3.
Reviewable status: all discussions resolved, 0 of 1 LGTMs obtained, and 1 stale
* Unify system error messages Fixes #3777 * Remove duplicate logging call * Fix a test by finding only direct children of body with class 'message'
* Unify system error messages Fixes #3777 * Remove duplicate logging call * Fix a test by finding only direct children of body with class 'message'
Fixes #3777
This change is