aboutsummaryrefslogtreecommitdiff
path: root/src/utils.js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-11-23 01:18:36 +0100
committer0neGal <mail@0negal.com>2022-11-23 01:18:36 +0100
commit47d62df1a205789574bd3c8e06af0fdc07322306 (patch)
treea182ebf001e3eb6ba7bb155cba5393f94d7835e4 /src/utils.js
parenta12c73e95f7de4167d4e20f77d5e942f1e12d179 (diff)
downloadViper-47d62df1a205789574bd3c8e06af0fdc07322306.tar.gz
Viper-47d62df1a205789574bd3c8e06af0fdc07322306.zip
added more user friendly error message
When JavaScript errors occur outside of the renderer, they'll no longer display a big and confusingly detailed error stack, now they'll simply be shown a toast about the fact that an error happened. The user can then click this to get more details, but still without it being as invasive and obtuse as before.
Diffstat (limited to 'src/utils.js')
-rw-r--r--src/utils.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils.js b/src/utils.js
index 890fc8c..b93ce03 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -1006,6 +1006,10 @@ setInterval(() => {
}
}, 1500)
+setTimeout(() => {
+ sasdasd
+}, 3000)
+
module.exports = {
mods,
winLog,