From 15cd348bf28f8d58d8bc00a10792ab6170fcfc67 Mon Sep 17 00:00:00 2001 From: lilia Date: Mon, 27 Jul 2015 17:51:17 -0700 Subject: [PATCH] Remove nonexistant variable --- js/libtextsecure.js | 2 +- libtextsecure/api.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/libtextsecure.js b/js/libtextsecure.js index a47b0dfd..34a58ca0 100644 --- a/js/libtextsecure.js +++ b/js/libtextsecure.js @@ -39031,7 +39031,7 @@ TextSecureServer = function () { if (code > 999 || code < 100) { code = -1; } - var e = new Error(message); + var e = new Error(); e.name = 'HTTPError'; e.code = code; e.stack = stack; diff --git a/libtextsecure/api.js b/libtextsecure/api.js index 5b6c00b6..f614c6ea 100644 --- a/libtextsecure/api.js +++ b/libtextsecure/api.js @@ -94,7 +94,7 @@ TextSecureServer = function () { if (code > 999 || code < 100) { code = -1; } - var e = new Error(message); + var e = new Error(); e.name = 'HTTPError'; e.code = code; e.stack = stack;