diff options
author | 2017-10-13 12:29:40 +0200 | |
---|---|---|
committer | 2017-10-13 12:29:40 +0200 | |
commit | 58cda9cc7fb79ca9df6746de7f9662bc08dc156a (patch) | |
tree | 1211600c2a5d3b5f81c435c6896618111a611720 /src/electron/exception.js | |
download | ferdium-app-58cda9cc7fb79ca9df6746de7f9662bc08dc156a.tar.gz ferdium-app-58cda9cc7fb79ca9df6746de7f9662bc08dc156a.tar.zst ferdium-app-58cda9cc7fb79ca9df6746de7f9662bc08dc156a.zip |
initial commit
Diffstat (limited to 'src/electron/exception.js')
-rw-r--r-- | src/electron/exception.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/electron/exception.js b/src/electron/exception.js new file mode 100644 index 000000000..0065e2604 --- /dev/null +++ b/src/electron/exception.js | |||
@@ -0,0 +1,4 @@ | |||
1 | process.on('uncaughtException', (err) => { | ||
2 | // handle the error safely | ||
3 | console.error(err); | ||
4 | }); | ||