File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ async fn on_new_state<'a, C: Unlocked + 'static>(
294294 & accounting_balances. earners ,
295295 & proposed_balances. earners ,
296296 )
297- . ok_or ( Error :: Overflow ) ?;
297+ . ok_or ( Error :: Overflow ( Overflow :: EarnerHealth ) ) ?;
298298 if health_earners < u64:: from ( sentry. config . worker . health_unsignable_promilles ) {
299299 return on_error (
300300 sentry,
@@ -310,7 +310,7 @@ async fn on_new_state<'a, C: Unlocked + 'static>(
310310 & accounting_balances. spenders ,
311311 & proposed_balances. spenders ,
312312 )
313- . ok_or ( Error :: Overflow ) ?;
313+ . ok_or ( Error :: Overflow ( Overflow :: SpenderHealth ) ) ?;
314314 if health_spenders < u64:: from ( sentry. config . worker . health_unsignable_promilles ) {
315315 return on_error (
316316 sentry,
You can’t perform that action at this time.
0 commit comments