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 156d4c5 commit 9670064Copy full SHA for 9670064
src/networking/index.js
@@ -96,6 +96,8 @@ export default class {
96
if (err.status === 0 || (err.hasOwnProperty('status') && typeof err.status === 'undefined')) return categoryConstants.PNNetworkIssuesCategory;
97
if (err.timeout) return categoryConstants.PNTimeoutCategory;
98
99
+ if (err.code === 'ETIMEDOUT') return categoryConstants.PNNetworkIssuesCategory;
100
+
101
if (err.response) {
102
if (err.response.badRequest) return categoryConstants.PNBadRequestCategory;
103
if (err.response.forbidden) return categoryConstants.PNAccessDeniedCategory;
0 commit comments