summaryrefslogtreecommitdiff
path: root/ext/bg/js/template-renderer-proxy.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/template-renderer-proxy.js')
-rw-r--r--ext/bg/js/template-renderer-proxy.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/template-renderer-proxy.js b/ext/bg/js/template-renderer-proxy.js
index 507d8067..04b53ce7 100644
--- a/ext/bg/js/template-renderer-proxy.js
+++ b/ext/bg/js/template-renderer-proxy.js
@@ -127,7 +127,7 @@ class TemplateRendererProxy {
cleanup();
const {error} = response;
if (error) {
- reject(jsonToError(error));
+ reject(deserializeError(error));
} else {
resolve(response.result);
}