Skip to content

Commit 494e5ce

Browse files
committed
fixup! improved explanation
1 parent 26ac7f3 commit 494e5ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ses/error-codes/SES_UNCAUGHT_EXCEPTION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This behavior is configured by calling `lockdown` with the [errorTrapping][] opt
66

77
Otherwise, when thrown exceptions have no `catch` handler, the SES shim will print `SES_UNCAUGHT_EXCEPTION: exception...` to the error console. In that case, `exception...` is the thrown exception, augmented with causal error information when possible.
88

9-
On some platforms, the default errorTrapping behavior reports the error, but the platform's user trapping mechanism reports only an event with no error. (See https://github.com/endojs/endo/issues/2941 test1.) In that case, non-default `errorTrapping` reports the event about the error, rather than the error itself. This often has much less relevant information.
9+
On some platforms, the default errorTrapping behavior reports the error, but the platform's user trapping mechanism reports only an event with no error. (See https://github.com/endojs/endo/issues/2941 test1.) In that case, non-default `errorTrapping` reports the event about the error, rather than the error itself. This often has much less relevant information than the (inaccessible) error would, but is better than nothing.
1010

1111
For most programs, the error console is intended for human consumption, and so the `SES_UNCAUGHT_EXCEPTION:` output can be useful in giving a clue as to the source of a failure.
1212

0 commit comments

Comments
 (0)