Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.0.0
-
None
Description
In FullUpdateInitialize#createInitialUpdate, it wraps any exception occurred in db tasks using RuntimeException
FullUpdateInitialize.createInitialUpdate()
// Fail the HMS startup if tasks are not all successful and // fail on partial updates flag is set in the config. if (!callResult.getSuccessStatus() && failOnRetry) { throw new RuntimeException(callResult.getFailure()); }
We should not use RumtimeException here, because it is an unchecked exception, which is easier to miss to catch from the callers.
Attachments
Attachments
Issue Links
- relates to
-
SENTRY-1630 out of sequence error in HMSFollower
- Resolved