Altinn / altinn-file-scan

Microservice for handling file scan
MIT License
0 stars 0 forks source link

Improve handling of the exception that are generated when a blob has been deleted #100

Closed SandGrainOne closed 7 months ago

SandGrainOne commented 1 year ago

Description

Blobs being deleted before we start a file scan occasionally results in Internal Server Error in the file scan application.

In this specific case the file scan application should return Ok instead. The situation should still be logged, but the log level should be Warning instead of Error.

Additional Information

This should be improved to avoid unnecessary alerts. There are currently an alert rule if the file scan application responds to requests with Internal Server Error.

Tasks

No response

Acceptance Criterias

No response

acn-sbuad commented 7 months ago

duplicate of #43. Closing