From 935d48013b55f553d62055e1ec38ac70e4e4e0e8 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 22 Nov 2016 19:35:30 -0500 Subject: [PATCH] Travis debugging --- chrome/content/zotero/xpcom/translation/translators.js | 5 +++++ test/tests/zoteroTest.js | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) 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;