(cherry picked from commit 8ab7020e641e65deb002a10732d23bb22802c09d) (cherry picked from commit d255efa5f8dc57c1411ec2fe040bd22516393edd)
@@ -361,7 +361,7 @@ public class TestEditLog {
readFsImage.loadEdits(editStreams, namesystem, 100, null, null);
} catch (Exception e){
LOG.error("There appears to be an out-of-order edit in the edit log",
- e.getMessage());
+ e);
fail("no exception should be thrown");
} finally {
if (readFsImage != null) {