You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<fix>[core]: enforce propagateExceptionTo before lambda handlers
Add assertion in done(Runnable) and error(Consumer<ErrorCode>)
to require propagateExceptionTo() being called first. This
prevents uncaught exceptions from being silently swallowed
when using lambda-style handlers.
- Allow first element of asyncBackups to be null for cases
where no async backup is needed. propagateExceptionTo
will remove all null elements.
- Remove redundant isEmpty ternary guards since the new
assertion guarantees asyncBackups is non-empty
Related: ZSV-11310
Change-Id: I696870737a6f6b79747a63686c73656363686a6a
0 commit comments