]> git.kaiwu.me - njs.git/commit
Fixed catching of the exception thrown from an awaited function.
authorDmitry Volyntsev <xeioex@nginx.com>
Wed, 1 Jun 2022 04:48:46 +0000 (21:48 -0700)
committerDmitry Volyntsev <xeioex@nginx.com>
Wed, 1 Jun 2022 04:48:46 +0000 (21:48 -0700)
commitc62a9fb92b102c90a66aa724cb9054183a33a68c
treed497f766cf46ce9b5a80e90c7a03996a962aaa07
parent83bb129f10cf54ab5dc5c1c1ac3a071133143714
Fixed catching of the exception thrown from an awaited function.

This closes #500 issue on Github.
src/njs_async.c
test/js/async_try_catch_call.t.js [new file with mode: 0644]
test/js/async_try_catch_expression.t.js [new file with mode: 0644]