mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-21 22:47:48 +00:00
Use resin.errors.handle in app.coffee
This commit is contained in:
parent
debc017ba3
commit
5b470f1a0a
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user