mirror of https://github.com/apache/lucene.git
use Exception.toString() instead of getMessage() for a slighlty more verbose message
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150648 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d9f00f1d09
commit
724f27f4bc
|
@ -699,7 +699,7 @@ public class IndexWriter {
|
|||
} catch (IOException e) { // if delete fails
|
||||
if (directory.fileExists(file)) {
|
||||
if (infoStream != null)
|
||||
infoStream.println(e.getMessage() + "; Will re-try later.");
|
||||
infoStream.println(e.toString() + "; Will re-try later.");
|
||||
deletable.addElement(file); // add to deletable
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue