Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

Commit

Permalink
feat: print error details if available, close #8
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Nov 16, 2017
1 parent f4da7a2 commit 9f816d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/bumpercar.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ module.exports = {

.catch (error) ->
console.error("Error attempting to update the variable #{inspect envObject} for #{projectName} on #{providerName}")
if error and error.response and error.response.data
console.error("error response data")
console.error(error.response.data)
throw error

runProject: (projectName, providerName) ->
Expand Down

0 comments on commit 9f816d4

Please sign in to comment.