We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b2d298 commit 724d529Copy full SHA for 724d529
index.js
@@ -815,7 +815,8 @@ class Tangerine extends dns.promises.Resolver {
815
// if aborted signal then returns early
816
// eslint-disable-next-line max-depth
817
if (response) {
818
- const { statusCode, body, headers } = response;
+ const { body, headers } = response;
819
+ const statusCode = response.status || response.statusCode;
820
debug('response', { statusCode, headers });
821
822
0 commit comments