Skip to content

Conversation

RoshniNaveenaS
Copy link
Contributor

This PR introduces enhanced error handling, logging, and user feedback improvements in the attachment scanning flow.

Related GitHub Issue - #219

DEBUG?.('[SCAN] Malware scanner responded')
} catch (err) {
log.error('[SCAN][ScannerError]', err)
req?.error?.(502, 'Malware scanning service is currently unavailable.')

Choose a reason for hiding this comment

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

For any error from malware scanner why are we saying Service Unavailable ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

now passing the generic error

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.

2 participants