Skip to content
Snippets Groups Projects
Commit 04fb7dba authored by Reynold Xin's avatar Reynold Xin
Browse files

Replace getLocalizedMessage with just normal toString in exception handling in WriterContainer.

parent 953ff897
No related branches found
No related tags found
No related merge requests found
...@@ -136,7 +136,7 @@ private[sql] abstract class BaseWriterContainer( ...@@ -136,7 +136,7 @@ private[sql] abstract class BaseWriterContainer(
// to tell the user to look for the actual error. // to tell the user to look for the actual error.
throw new SparkException("The output file already exists but this could be due to a " + throw new SparkException("The output file already exists but this could be due to a " +
"failure from an earlier attempt. Look through the earlier logs or stage page for " + "failure from an earlier attempt. Look through the earlier logs or stage page for " +
"the first error.\n File exists error: " + e.getLocalizedMessage, e) "the first error.\n File exists error: " + e, e)
} else { } else {
throw e throw e
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment