www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 935d48013b55f553d62055e1ec38ac70e4e4e0e8
parent c7700f2b96fec179ed70d760faf5617b9d4917e1
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue, 22 Nov 2016 19:35:30 -0500

Travis debugging

Diffstat:
Mchrome/content/zotero/xpcom/translation/translators.js | 5+++++
Mtest/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 @@ -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 @@ -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;