Skip to content

Commit

Permalink
fix: Handle deploy failures gracefully
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkurt committed Jan 25, 2018
1 parent 5d4ed40 commit cb3955b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cmd/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ module.exports = function deployApp(appID: string, token: string) {
console.log("Successfully updated app on Fly.")
process.exit(0)
}
}).catch((err) => {
console.error(err.message)
process.exit(1)
})

})
Expand Down

0 comments on commit cb3955b

Please sign in to comment.