-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a config setting for client exceptions (#51)
Exceptions are good for a developer, but can hide errors for end users. Example, user uploads a file that is too large for clamav (> 25Mb). ClamAV will close the stream once it hits it's own configured limit. Throwing an exception in this case will show the user a 500 internal error, instead of showing a useful message (the file size validation error). Resolves #50
- Loading branch information
Showing
2 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters