Just print the exception. If it has a message, that will be printed,
otherwise we'll just get the name. I'm killing StringUtil.getMessage(). git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4304 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -377,7 +377,7 @@ public class Streamer
|
||||
String errmsg = "Failure reading streamable field " +
|
||||
"[class=" + _target.getName() +
|
||||
", field=" + field.getName() +
|
||||
", error=" + StringUtil.getMessage(e) + "]";
|
||||
", error=" + e + "]";
|
||||
throw (IOException) new IOException(errmsg).initCause(e);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user