Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dcache-frontend: handle parse exceptions in bulk and tape resources
Motivation: JSONException and the various exceptions thrown by GSON are RuntimeExceptions; if they are not caught and converted into HTTP exceptions, they generate stack traces. Modification: Wrap the relevant code with try ... catch blocks. Result: No stack traces when badly formed objects are sent by users. Target: master Request: 8.2 Patch: https://rb.dcache.org/r/13816/ Requires-notes: yes Acked-by: Lea
- Loading branch information
Showing
4 changed files
with
89 additions
and
53 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
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