Skip to content

Commit

Permalink
Merged by Peril
Browse files Browse the repository at this point in the history
Improves error reporting for a status post
  • Loading branch information
peril-staging[bot] authored Jun 14, 2018
2 parents ffcac58 + 45cd55b commit e33a079
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@

## Master

# 3.7.18

* Report the error in a commit status update when in verbose - [@orta][]

# 3.7.17

* Improvements to PR detection on Team City - @markelog
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "danger",
"version": "3.7.17",
"version": "3.7.18",
"description": "Unit tests for Team Culture",
"main": "distribution/danger.js",
"typings": "distribution/danger.d.ts",
Expand Down
4 changes: 4 additions & 0 deletions source/platforms/github/comms/issueCommenter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ export const GitHubIssueCommenter = (api: GitHubAPI) => {
})
return true
} catch (error) {
// @ts-ignore
if (global.verbose) {
console.log("Got an error with creating a commit status", error)
}
return false
}
},
Expand Down

0 comments on commit e33a079

Please sign in to comment.