From d3fc4eb554a306679f4c9dc254434f85205aa543 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 22 Apr 2016 20:16:03 -0400 Subject: [PATCH] Mark browser-offline exception as fatal during syncing --- chrome/content/zotero/xpcom/sync/syncAPIClient.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chrome/content/zotero/xpcom/sync/syncAPIClient.js b/chrome/content/zotero/xpcom/sync/syncAPIClient.js index 37bb80c913..1825fdaa4d 100644 --- a/chrome/content/zotero/xpcom/sync/syncAPIClient.js +++ b/chrome/content/zotero/xpcom/sync/syncAPIClient.js @@ -647,6 +647,9 @@ Zotero.Sync.APIClient.prototype = { return false; } } + else if (e instanceof Zotero.HTTP.BrowserOfflineException) { + e.fatal = true; + } throw e; } }.bind(this)));