Description
When logging an exception, we often convert the exception to string or call .getMessage. Instead we can use the log method overloads which take Throwable as a parameter.
Attachments
Attachments
Issue Links
- contains
-
HDFS-13113 Use Log.*(Object, Throwable) overload to log exceptions
- Resolved