Please sign in to comment.
Create and throw the exception, instead of logging. The theory behind
exceptions is that they only need to be logged if they can't be caught and handled. If we don't throw it, then the error gets swallowed and the code that errored out just blithely continues.
- Loading branch information...
Showing with 1 addition and 3 deletions.