From 3b71ec5410501580708d34f7793f82fcc77377d5 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 21 Jul 2016 13:15:33 -0400 Subject: [PATCH] Throw "Error", not "Exception", in merge.xml --- chrome/content/zotero/bindings/merge.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/bindings/merge.xml b/chrome/content/zotero/bindings/merge.xml index ad717d4809..6fec909c5b 100644 --- a/chrome/content/zotero/bindings/merge.xml +++ b/chrome/content/zotero/bindings/merge.xml @@ -71,7 +71,7 @@ break; default: - throw new Exception(`Unsupported merge object type '${type}'`); + throw new Error(`Unsupported merge object type '${type}'`); } this._type = val; @@ -98,7 +98,7 @@