Unverified Commit 760d089e authored by Joyee Cheung's avatar Joyee Cheung Committed by Beth Griggs
Browse files

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: default avatarMatteo Collina <matteo.collina@gmail.com>
Signed-off-by: default avatarBeth Griggs <Bethany.Griggs@uk.ibm.com>
parent e776b013
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment