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 95942c5 commit f679cf6Copy full SHA for f679cf6
.changeset/hip-buses-clap.md
@@ -0,0 +1,5 @@
1
+---
2
+'@aws-amplify/platform-core': patch
3
4
+
5
+expand handling of getaddrinfo ENOTFOUND errors
packages/platform-core/src/errors/amplify_error.ts
@@ -229,7 +229,7 @@ const isYargsValidationError = (err?: Error): boolean => {
229
};
230
231
const isENotFoundError = (err?: Error): boolean => {
232
- return !!err && err.message.startsWith('getaddrinfo ENOTFOUND');
+ return !!err && err.message.includes('getaddrinfo ENOTFOUND');
233
234
235
const isSyntaxError = (err?: Error): boolean => {
0 commit comments