Use resin.errors.handle in app.coffee

This commit is contained in:
Juan Cruz Viotti 2014-11-26 14:17:26 -04:00
parent debc017ba3
commit 5b470f1a0a

View File

@ -126,6 +126,6 @@ program
.action(env.remove) .action(env.remove)
resin.data.prefix.set resin.config.dataPrefix, (error) -> resin.data.prefix.set resin.config.dataPrefix, (error) ->
throw error if error? resin.errors.handle(error) if error?
program.parse(process.argv) program.parse(process.argv)
resin.log.setQuiet(program.quiet) resin.log.setQuiet(program.quiet)