Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Motivation: The TryCatchTemplate is meant to be composable, allowing different components to "wrap" an existing TryCatchTemplate. However, this currently only works if the instantiated TryCatchTemplate overrides the `execute` or `executeWithCancellable` methods. "Out of the box" the class results in a NPE. Modification: Update TryCatchTemplate so it doesn't throw NPE when neither the `execute` or `executeWithCancellable` method is overridden. Result: No user or admin observable changes, but the code behaves more correctly. Target: master Requires-notes: no Requires-book: no Patch: https://rb.dcache.org/r/13097/ Acked-by: Albert Rossi Acked-by: Lea Morschel
- Loading branch information