79630681

Date: 2025-05-20 14:56:34
Score: 0.5
Natty:
Report link

you're passing a string to Sentry.captureException, not an actual Error object:

useEffect(() => {
  if (error) {
    Sentry.captureException(new Error('TEST: ' + error));
  }
}, [error]);

Above code ensures that Sentry captures a real exception object.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Omprakash S