Skip to content
Commit Detail

Commit 4a87433

Author
Joe Lee <jlee@cloudflare.com> 2024-09-06 12:30:54 -0700
Parents
3bb0d26
Tree
0276b83
actor alarms tests: Reject waiting promise on alarm handler exception

Exceptions that escape from the alarm handler don't cause the test to fail, so
a failing assertion in the alarm handler only caused the test to hang.  Calling
the reject function of the waiting promise on exception should avoid this.

Also tightening up the nullness checks.

Files changed

2 files changed~2 modified