From 5ec7c97f306f537bdd1b801f116380d337af1085 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 12 Sep 2017 16:22:46 -0400 Subject: [PATCH] Add debugging for userID change --- chrome/content/zotero/xpcom/sync/syncLocal.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chrome/content/zotero/xpcom/sync/syncLocal.js b/chrome/content/zotero/xpcom/sync/syncLocal.js index 130bebb04..a952b19bf 100644 --- a/chrome/content/zotero/xpcom/sync/syncLocal.js +++ b/chrome/content/zotero/xpcom/sync/syncLocal.js @@ -122,6 +122,8 @@ Zotero.Sync.Data.Local = { var lastUsername = Zotero.Users.getCurrentUsername(); if (lastUserID && lastUserID != userID) { + Zotero.debug(`Last user id ${lastUserID}, current user id ${userID}, ` + + `last username '${lastUsername}', current username '${username}'`, 2); var io = { title: Zotero.getString('general.warning'), text: [Zotero.getString('account.lastSyncWithDifferentAccount', [ZOTERO_CONFIG.CLIENT_NAME, lastUsername, username])],