Skip to content
Snippets Groups Projects
Commit b1a2445d authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] duniter/duniter#997

parent 22b5095e
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,13 @@ if (process.argv.length === 2) {
process.argv.push('direct_webstart');
}
process.on('uncaughtException', (err) => {
// Dunno why this specific exception is not caught
if (err.code !== "EADDRNOTAVAIL" && err.code !== "EINVAL" && err.code !== "ENOENT") {
process.exit(2);
}
})
const stack = require('duniter').statics.autoStack([{
name: 'duniter-ui',
required: require('./index')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment