fix: dns interceptor error handling #14970
Annotations
6 errors and 4 notices
test/interceptors/dns.js#L103
Error [ERR_TEST_FAILURE]: this[#state].deleteRecord is not a function
at process.emit (node:events:519:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'unhandledRejection',
cause: TypeError [Error]: this[#state].deleteRecord is not a function
at DNSDispatchHandler.onError (/Users/runner/work/undici/undici/lib/interceptor/dns.js:223:17)
at Request.onError (/Users/runner/work/undici/undici/lib/core/request.js:301:27)
at Object.errorRequest (/Users/runner/work/undici/undici/lib/core/util.js:812:13)
at onError (/Users/runner/work/undici/undici/lib/dispatcher/client.js:371:12)
at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:502:7)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
}
|
test/interceptors/dns.js#L184
Error [ERR_TEST_FAILURE]: this[#state].deleteRecord is not a function
at process.emit (node:events:519:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'unhandledRejection',
cause: TypeError [Error]: this[#state].deleteRecord is not a function
at DNSDispatchHandler.onError (/Users/runner/work/undici/undici/lib/interceptor/dns.js:223:17)
at Request.onError (/Users/runner/work/undici/undici/lib/core/request.js:301:27)
at Object.errorRequest (/Users/runner/work/undici/undici/lib/core/util.js:812:13)
at onError (/Users/runner/work/undici/undici/lib/dispatcher/client.js:371:12)
at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:502:7)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
}
|
test/interceptors/dns.js#L260
Error [ERR_TEST_FAILURE]: this[#state].deleteRecord is not a function
at process.emit (node:events:519:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'unhandledRejection',
cause: TypeError [Error]: this[#state].deleteRecord is not a function
at DNSDispatchHandler.onError (/Users/runner/work/undici/undici/lib/interceptor/dns.js:223:17)
at Request.onError (/Users/runner/work/undici/undici/lib/core/request.js:301:27)
at Object.errorRequest (/Users/runner/work/undici/undici/lib/core/util.js:812:13)
at onError (/Users/runner/work/undici/undici/lib/dispatcher/client.js:371:12)
at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:502:7)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
}
|
test/interceptors/dns.js#L303
Error [ERR_TEST_FAILURE]: this[#state].deleteRecord is not a function
at process.emit (node:events:519:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'unhandledRejection',
cause: TypeError [Error]: this[#state].deleteRecord is not a function
at DNSDispatchHandler.onError (/Users/runner/work/undici/undici/lib/interceptor/dns.js:223:17)
at Request.onError (/Users/runner/work/undici/undici/lib/core/request.js:301:27)
at Object.errorRequest (/Users/runner/work/undici/undici/lib/core/util.js:812:13)
at onError (/Users/runner/work/undici/undici/lib/dispatcher/client.js:371:12)
at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:502:7)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
}
|
test/interceptors/dns.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
|
|
|
|
|
This job failed
Loading