aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts/lib')
-rw-r--r--app/scripts/lib/notifications.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/scripts/lib/notifications.js b/app/scripts/lib/notifications.js
index f7d7ab6d8..5762fd26b 100644
--- a/app/scripts/lib/notifications.js
+++ b/app/scripts/lib/notifications.js
@@ -57,6 +57,7 @@ function createTxNotification (opts) {
if (!chrome.notifications) return console.error('Chrome notifications API missing...')
renderTransactionNotificationSVG(opts, function(err, source){
+ if (err) throw err
var imageUrl = 'data:image/svg+xml;utf8,' + encodeURIComponent(source)