inspector: display error when ToggleAsyncHook fails
This patch refactors `AppendExceptionLine` and `PrintSyncTrace` to reuse the error formatting logic and use them to print uncaught error in ``ToggleAsyncHook` PR-URL: https://github.com/nodejs/node/pull/26859 Refs: https://github.com/nodejs/node/issues/26798 Reviewed-By:Matteo Collina <matteo.collina@gmail.com> Signed-off-by:
Beth Griggs <Bethany.Griggs@uk.ibm.com>
parent
e776b013
Please register or sign in to comment