Actually useful error alerts.
This commit is contained in:
parent
b090ad7347
commit
0f6d607902
@ -3890,7 +3890,9 @@
|
||||
callback(node);
|
||||
}
|
||||
} catch (err) {
|
||||
if (notify) alert(err.message);
|
||||
if (notify) {
|
||||
alert("4chan X error: " + err.message + "\nhttp://mayhemydg.github.com/4chan-x/#bug-report\n\n" + err.stack);
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@ -3195,7 +3195,7 @@ Main =
|
||||
try
|
||||
callback node for node in nodes
|
||||
catch err
|
||||
alert err.message if notify
|
||||
alert "4chan X error: #{err.message}\nhttp://mayhemydg.github.com/4chan-x/#bug-report\n\n#{err.stack}" if notify
|
||||
return
|
||||
observer: (mutations) ->
|
||||
nodes = []
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user