show meaningful errors

这个提交包含在:
AJ ONeal 2018-06-15 08:46:43 +00:00
父节点 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...