show meaningful errors
这个提交包含在:
父节点
33c3bc9876
当前提交
e619018276
@ -134,7 +134,7 @@ function applyConfig(config) {
|
|||||||
// TODO specify extensions in config file
|
// TODO specify extensions in config file
|
||||||
state.extensions = require('../lib/extensions');
|
state.extensions = require('../lib/extensions');
|
||||||
} catch(e) {
|
} 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 = {};
|
state.extensions = {};
|
||||||
}
|
}
|
||||||
require('../lib/handlers').create(state); // adds directly to config for now...
|
require('../lib/handlers').create(state); // adds directly to config for now...
|
||||||
|
|||||||
正在加载...
x
在新工单中引用
屏蔽一个用户