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 (D:\a\undici\undici\lib\interceptor\dns.js:223:17)
at Request.onError (D:\a\undici\undici\lib\core\request.js:301:27)
at Object.errorRequest (D:\a\undici\undici\lib\core\util.js:812:13)
at onError (D:\a\undici\undici\lib\dispatcher\client.js:371:12)
at connect (D:\a\undici\undici\lib\dispatcher\client.js:502:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95: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 (D:\a\undici\undici\lib\interceptor\dns.js:223:17)
at Request.onError (D:\a\undici\undici\lib\core\request.js:301:27)
at Object.errorRequest (D:\a\undici\undici\lib\core\util.js:812:13)
at onError (D:\a\undici\undici\lib\dispatcher\client.js:371:12)
at connect (D:\a\undici\undici\lib\dispatcher\client.js:502:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95: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 (D:\a\undici\undici\lib\interceptor\dns.js:223:17)
at Request.onError (D:\a\undici\undici\lib\core\request.js:301:27)
at Object.errorRequest (D:\a\undici\undici\lib\core\util.js:812:13)
at onError (D:\a\undici\undici\lib\dispatcher\client.js:371:12)
at connect (D:\a\undici\undici\lib\dispatcher\client.js:502:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95: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: 'uncaughtException',
cause: TypeError [Error]: this[#state].deleteRecord is not a function
at DNSDispatchHandler.onError (D:\a\undici\undici\lib\interceptor\dns.js:223:17)
at Request.onError (D:\a\undici\undici\lib\core\request.js:301:27)
at Object.errorRequest (D:\a\undici\undici\lib\core\util.js:812:13)
at Socket.onHttpSocketClose (D:\a\undici\undici\lib\dispatcher\client-h1.js:928:10)
at Socket.emit (node:events:531:35)
at TCP.<anonymous> (node:net:337:12)
}
|
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