-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat(core): basic spring hawk #3
base: main
Are you sure you want to change the base?
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.
why hawk.java package is removed?
private static int errorCount = 0; | ||
private static int warningCount = 0; |
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.
why these increments are needed? I'd suggest to remove all unused code
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.
also, please, do not forget to add docs to each class property
*/ | ||
@PostConstruct | ||
public void initialize() { | ||
Thread.setDefaultUncaughtExceptionHandler((thread, exception) -> { |
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.
can we re-use hawk.java here?
/** | ||
* Constructor for PlaygroundApp. | ||
* | ||
* @param hawkCatcher HawkCatcher instance |
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.
from where app entry point should receive hawk instance?
} | ||
|
||
// Report current error status to check if there were issues | ||
hawkCatcher.reportStatus(); |
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.
unexpected method. Let's start with simple global exception handling.
No description provided.