danger / peril

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

Catches error from missing PR #442

Closed ashfurrow closed 5 years ago

ashfurrow commented 5 years ago

Fixes #441.

Not sure why a PR would ever come back 404 from GitHub (since GitHub gives Peril the PR number, and they can't be easily deleted), but anyway. The method ultimately can throw and this seemed like the best spot to put error-handling.

orta commented 5 years ago

Yep, looks good to me 👍

orta commented 5 years ago

deployed to staging