Skip to content

Commit

Permalink
Log error if we can't throw it
Browse files Browse the repository at this point in the history
  • Loading branch information
holdenk committed Jun 23, 2015
1 parent 855f9aa commit f807832
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ public void write(scala.collection.Iterator<Product2<K, V>> records) throws IOEx
// error.
if (success) {
throw e;
} else {
logger.error("In addition to a failure during writing, we failed during " +
"cleanup.", e);
}
}
}
Expand Down

0 comments on commit f807832

Please sign in to comment.