You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewAwsStorageException({safeMessage: 'Error downloading file from S3',originalError: error,});
Only the text 'Error downloading file from S3' appears in Sentry. It seems that the originalError is not being sent to Sentry for better traceability.
Expected Behavior
Both the safeMessage and the originalError should be captured and logged in Sentry, ensuring that the original error information is available for debugging.
Actual Behavior
Currently, only the safeMessage ('Error downloading file from S3') is showing up in Sentry, with no trace of the originalError information.
When throwing the following exception:
Only the text 'Error downloading file from S3' appears in Sentry. It seems that the originalError is not being sent to Sentry for better traceability.
Expected Behavior
Both the safeMessage and the originalError should be captured and logged in Sentry, ensuring that the original error information is available for debugging.
Actual Behavior
Currently, only the safeMessage ('Error downloading file from S3') is showing up in Sentry, with no trace of the originalError information.
Steps to Reproduce
Add global exception filter
Register
LoggeModule
andLoggerSentryModule
make sure to use proper Sentry configurations
Create the custom AwsStorageException class:
Trigger the exception with the following code snippet:
Check the Sentry logs for the captured exception.
Observe that only the safeMessage is logged, with no trace of the originalError.
Additional Information
Version: 5.0.0-alpha.4
The text was updated successfully, but these errors were encountered: