interceptors: move throwOnError to interceptor #14095
Annotations
10 errors and 1 notice
test/trailers.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/tls-session-reuse.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/stream-compat.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/socket-timeout.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/socket-back-pressure.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/retry-handler.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/retry-agent.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/request.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/request-timeout2.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
test/request-timeout.js#L1
[Error: test failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: 'test failed', exitCode: 1, signal: null }
|
Error:: Test "respect Node.js' --max-http-header-size" at test/client-node-max-header-size.js:26:3 generated asynchronous activity after the test ended. This activity created the error "AssertionError [ERR_ASSERTION]: ifError got unwanted exception: Command failed: node -e "require('.').request('http://localhost:49187')"
/Users/runner/work/undici/undici/lib/interceptor/response-error.js:26
this.#errored = false
^
SyntaxError: Private field '#errored' must be declared in an enclosing class
at wrapSafe (node:internal/modules/cjs/loader:1281:20)
at Module._compile (node:internal/modules/cjs/loader:1321:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Module._load (node:internal/modules/cjs/loader:1024:12)
at Module.require (node:internal/modules/cjs/loader:1233:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (/Users/runner/work/undici/undici/lib/api/index.js:9:43)
at Module._compile (node:internal/modules/cjs/loader:1358:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
Node.js v20.15.0
" and would have caused the test to fail, but instead triggered an uncaughtException event.
Total Tests: 338
Suites 📂: 50
Passed ✅: 255
Failed ❌: 81
Canceled 🚫: 1
Skipped ⏭️: 1
Todo 📝: 0
Duration 🕐: 36623.545ms
|
This job failed
Loading