fix(start): remove stray log (which looks like an error)

This commit is contained in:
Jason Dreyzehner 2017-08-18 19:38:01 -04:00
parent 7e34c411f6
commit abd21a5b08

View File

@ -101,9 +101,8 @@ function lookInBuiltInPath(req, service) {
try {
var serviceFile = path.resolve(__dirname, '../services/' + service.name);
return req(serviceFile);
} catch(e) {
console.log(e);
if(e.code !== 'MODULE_NOT_FOUND') {
} catch (e) {
if (e.code !== "MODULE_NOT_FOUND") {
log.error(e);
}
log.info('Checked the built-in path: lib/services, for service: ' + service.name);