-
Notifications
You must be signed in to change notification settings - Fork 220
fix: shut down operator when failing to start #1138
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
Conversation
metacosm
commented
Apr 5, 2022
- fix: start timer as daemon to avoid prolonging the app's life
- fix: exit operator on exception when starting
Wondering if we could make an integration test for this. |
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
} else { | ||
// extract matching information from URI in the message if available | ||
final var message = exception.getMessage(); | ||
final var regex = Pattern.compile(".*http(s?)://[^/]*/api(s?)/(\\S*).*").matcher(message); |
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.
We should do something about the related SONAR issue (maybe just no sonar?) or based on the instructions.
Kudos, SonarCloud Quality Gate passed! |