1
1
Fork 0

show meaningful errors

Dieser Commit ist enthalten in:
AJ ONeal 2018-06-15 08:46:43 +00:00
Ursprung 33c3bc9876
Commit e619018276
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen

Datei anzeigen

@ -134,7 +134,7 @@ function applyConfig(config) {
// TODO specify extensions in config file
state.extensions = require('../lib/extensions');
} catch(e) {
if (state.debug) { console.log('[DEBUG] no extensions loaded', e); }
if ('ENOENT' !== e.code || state.debug) { console.log('[DEBUG] no extensions loaded', e); }
state.extensions = {};
}
require('../lib/handlers').create(state); // adds directly to config for now...