Change error message for xhr status 0
This commit is contained in:
1 parent
4d1680b7f5
commit
3973e06651
1 file changed
+1
-1
@@ -142,7 +142,7 @@ export const start = () => {
|
||||
setTimeout(start, 5000)
|
||||
}
|
||||
} else if (xhr.status === 0) {
|
||||
on_failure("request_failed", "Your request did not arrive, or the server blocked the request")
|
||||
on_failure("request_failed", "The connection was interrupted")
|
||||
} else {
|
||||
// Request did not arrive
|
||||
if (tries < 3) {
|
||||
|
||||
Reference in new issue
Block a user