diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js index f00880c43..ed480aa4d 100644 --- a/chrome/content/zotero/xpcom/integration.js +++ b/chrome/content/zotero/xpcom/integration.js @@ -1538,8 +1538,8 @@ Zotero.Integration.Fields.prototype.updateSession = Zotero.Promise.coroutine(fun try { yield this._session.loadBibliographyData(this._bibliographyData); } catch(e) { - var exception = new Zotero.Integration.CorruptBibliographyException(me, e); - exception.setContext(me); + var exception = new Zotero.Integration.CorruptBibliographyException(this, e); + exception.setContext(this); throw exception; } }