danger / peril

☢️ Serious and immediate danger.
https://danger.systems
MIT License
461 stars 58 forks source link

Updates sentry and proves a PR #447

Closed orta closed 5 years ago

orta commented 5 years ago

Weirdly GitHub's been sending the same PR web hook to peril for the last 2 weeks, with a PR which doesn't exist. This took down Peril, hah!

https://github.com/danger/peril/pull/442 took a stab a this by catching errors from the Danger run, but TBH - Peril shouldn't be running danger at all if a PR doesn't exist. This PR adds a validation that indeed, the PR exists before running.

And updates sentry, because the logs were useless.

orta commented 5 years ago
Screen Shot 2019-07-20 at 11 34 26 AM