Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup!
Co-authored-by: Anna Henningsen <github@addaleax.net>
  • Loading branch information
legendecas and addaleax authored Apr 7, 2021
commit 95bcddc5bf5e9a53a607f0a7a0f61a6a21982baf
3 changes: 1 addition & 2 deletions lib/internal/async_hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,7 @@ function executionAsyncResource() {

function inspectExceptionValue(e) {
inspect ??= require('internal/util/inspect').inspect;
const o = { message: inspect(e) };
return o;
return { message: inspect(e) };
}

// Used to fatally abort the process if a callback throws.
Expand Down