mirror of
https://github.com/denoland/deno.git
synced 2024-10-31 09:14:20 -04:00
e3eae662f3
This commit adds "Deno.core.setFormatExceptionCallback" which can be used to provide custom formatting for errors. It is useful in cases when user throws something that is non-Error (eg. a string, plain object, etc).
21 lines
631 B
Text
21 lines
631 B
Text
Check [WILDCARD]test/ops_sanitizer_missing_details.ts
|
|
running 1 test from ./test/ops_sanitizer_missing_details.ts
|
|
test 1 ... FAILED [WILDCARD]
|
|
|
|
ERRORS
|
|
|
|
test 1 => ./test/ops_sanitizer_missing_details.ts:[WILDCARD]
|
|
error: AssertionError: Test case is leaking async ops.
|
|
|
|
- 1 async operation to op_write was started in this test, but never completed.
|
|
|
|
To get more details where ops were leaked, run again with --trace-ops flag.
|
|
at [WILDCARD]
|
|
|
|
FAILURES
|
|
|
|
test 1 => ./test/ops_sanitizer_missing_details.ts:[WILDCARD]
|
|
|
|
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [WILDCARD]
|
|
|
|
error: Test failed
|