twenty icon indicating copy to clipboard operation
twenty copied to clipboard

chore: add sentry captureException for global error logging

Open shubham-kumar10 opened this issue 9 months ago • 1 comments

I have added error logging to Sentry using Sentry.captureException. The _info object which includes the componentStack will be sent in extra data along with the exception.

shubham-kumar10 avatar Apr 28 '24 02:04 shubham-kumar10

Welcome!

Hello there, congrats on your first PR! We're excited to have you contributing to this project. By submitting your Pull Request, you acknowledge that you agree with the terms of our Contributor License Agreement.

TODOs/FIXMEs:

  • ~~// TODO: log error to Sentry~~: packages/twenty-front/src/modules/error-handler/components/AppErrorBoundary.tsx

Generated by :no_entry_sign: dangerJS against 4d7cef9572bbc8085b2eb35d5d013f452cf8fe66

github-actions[bot] avatar Apr 28 '24 02:04 github-actions[bot]

LGTM. Thank you @shubham-kumar10!

@Weiko This was related to this issue. Can you close it too so that no one picks it up?

shubham-kumar10 avatar Apr 29 '24 14:04 shubham-kumar10

Done @shubham-kumar10

Weiko avatar Apr 29 '24 15:04 Weiko