Skip to content

Conversation

@kaushiknishchay
Copy link
Owner

No description provided.

Add sentry config to index.js

Add sentry to redux store using middleware

Add sentry error reporting to api calls in httpFetch.js

Add sentry error reporting in Home.jsx

Create new 'lib/util.js' file to provide sentry error specific data
@coveralls
Copy link

Pull Request Test Coverage Report for Build 22

  • 0 of 5 (0.0%) changed or added relevant lines in 2 files are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-1.3%) to 45.775%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/lib/utils.js 0 1 0.0%
src/components/Home.jsx 0 4 0.0%
Files with Coverage Reduction New Missed Lines %
src/components/Home.jsx 2 34.04%
Totals Coverage Status
Change from base Build 19: -1.3%
Covered Lines: 48
Relevant Lines: 92

💛 - Coveralls

console.error(err);
}).catch((err) => {
console.error(err);
Raven.captureException(err, sentryExtra('Error while fetching user Info'));

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How are you communicating this error to the user?
When the getUserInfo API call fails, how are you intimating the user that 'data retrieval' from the server is failed?

You are registering the exceptions with Raven which is just going to track the exception on Sentry Dashboard. But, it seems nowhere we are showing the error message to the user

@kaushiknishchay kaushiknishchay merged commit 470ef87 into dev Apr 2, 2018
@kaushiknishchay kaushiknishchay deleted the sentry_integration branch April 2, 2018 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants