Skip to content

Commit 5fca143

Browse files
committed
check status 0
1 parent d58a2d9 commit 5fca143

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

f-i18n-domain.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
PromiseToRetry.ensure(() => {
122122
let req = this.$.ajax.generateRequest();
123123
return req.completes.then(() => _done(req.response))
124-
.catch((e) => req.status === 404
124+
.catch((e) => req.status === 404 || req.status === 0
125125
? _done({})
126126
: Promise.reject(e));
127127
}, (detail) => console.warn('Failed to fetch locale',

0 commit comments

Comments
 (0)