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 58d5d64 commit e8a957aCopy full SHA for e8a957a
src/infrastructure/Http.ts
@@ -69,6 +69,9 @@ export abstract class Http {
69
};
70
return new Error(JSON.stringify(formattedError));
71
}
72
+ if (error.code && error.address && error.code === 'ECONNREFUSED') {
73
+ return new Error(`Cannot reach node: ${error.address}:${error.port}`);
74
+ }
75
return new Error(error);
76
77
0 commit comments