diff --git a/js/background.js b/js/background.js index 08c42866b1ba..f4f04ec7c4b3 100644 --- a/js/background.js +++ b/js/background.js @@ -96,7 +96,12 @@ message.save({ errors : [e] }).then(function() { extension.trigger('message', message); // notify frontend listeners }); + } else if (e.message === 'Bad MAC') { + message.save({ errors : [ _.pick(e, ['name', 'message'])]}).then(function() { + extension.trigger('message', message); // notify frontend listeners + }); } else { + console.log(e); throw e; } });