diff --git a/chrome/content/zotero/xpcom/translation/translators.js b/chrome/content/zotero/xpcom/translation/translators.js index d8b2d2979d..cb0b945e52 100644 --- a/chrome/content/zotero/xpcom/translation/translators.js +++ b/chrome/content/zotero/xpcom/translation/translators.js @@ -43,6 +43,11 @@ Zotero.Translators = new function() { * available (e.g., in updateBundledFiles()), to avoid unnecesary file reads */ this.reinit = Zotero.Promise.coroutine(function* (options = {}) { + // Travis debugging + Zotero.Debug.init(true); + Zotero.debug(new Error().stack); + Zotero.Debug.init(); + // Wait until bundled files have been updated, except when this is called by the schema update // code itself if (!options.fromSchemaUpdate) { diff --git a/test/tests/zoteroTest.js b/test/tests/zoteroTest.js index 1b57f684c8..af73361def 100644 --- a/test/tests/zoteroTest.js +++ b/test/tests/zoteroTest.js @@ -150,7 +150,6 @@ describe("Zotero Core Functions", function () { add("should show error on partial failure", function (automatic) { return function* () { - Zotero.Debug.init(true); yield populateDataDirectory(oldDir, null, automatic); let origFunc = OS.File.move;