summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-02-19 22:51:48 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-05-04 13:02:56 -0400
commit884be644ecae69e2e2c30e9f4cccf897532f942f (patch)
tree2a288be8135ff57782e73ba7a33a936921c84740
parentc933a55b818052c0a0922257a9fb82928723850a (diff)
Make error loging unintrusive
This alert can show up under normal use circumstances on mobile
-rw-r--r--ext/fg/js/frontend.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js
index a81cbef8..bd652f3b 100644
--- a/ext/fg/js/frontend.js
+++ b/ext/fg/js/frontend.js
@@ -256,7 +256,7 @@ class Frontend {
}
onError(error) {
- window.alert(`Error: ${error.toString ? error.toString() : error}`);
+ console.log(error);
}
popupTimerSet(callback) {