HADOOP-15586. Fix wrong log statement in AbstractService. (Szilard Nemeth via Haibo Chen)

This commit is contained in:
Haibo Chen 2018-07-23 11:18:25 -07:00
parent 9d3c39e9dd
commit 17e26163ec

View File

@ -254,7 +254,7 @@ public final void close() throws IOException {
* @param exception the exception * @param exception the exception
*/ */
protected final void noteFailure(Exception exception) { protected final void noteFailure(Exception exception) {
LOG.debug("noteFailure {}" + exception); LOG.debug("noteFailure", exception);
if (exception == null) { if (exception == null) {
//make sure failure logic doesn't itself cause problems //make sure failure logic doesn't itself cause problems
return; return;