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:
Daniel Naber 2004-11-18 19:15:28 +00:00
parent d9f00f1d09
commit 724f27f4bc
1 changed files with 1 additions and 1 deletions

View File

@ -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
}
}