Skip to content

Files

Latest commit

 

History

History
11 lines (6 loc) · 437 Bytes

LoggingSwallowsStacktrace.md

File metadata and controls

11 lines (6 loc) · 437 Bytes

Pattern: Logging swallows stacktrace

Issue: -

Description

If you are logging an exception then the proper API is to call error(Object, Throwable), which will log the message and the exception stack trace. If you call error(Object) then the stacktrace may not be logged.

Further Reading