newrelic / nr1-github

NR1 Github allows you to create more context to your entities by having access to the GitHub repository, contributors and README.
https://github.com/newrelic/nr1-github/discussions
Apache License 2.0
19 stars 27 forks source link

Fix error handling #63

Closed LizBaker closed 3 years ago

LizBaker commented 3 years ago

This PR fixes the error handling in the PullRequest component. Previously an error was not being thrown at the right level and the component was receiving an error object and trying to map over it causing an app level error/breaking the app.

It also adds some messaging about why errors might occur

Screen Shot 2021-03-19 at 3 39 07 PM

Closes https://github.com/newrelic/nr1-github/issues/62

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.

nr-opensource-bot commented 3 years ago

:tada: This PR is included in version 0.6.6 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: