Adding debug log of parse exception in parseException

This commit is contained in:
Viktor Klang 2010-12-20 10:34:59 +01:00
parent e481adb531
commit dbd8a60faf

View file

@ -516,6 +516,7 @@ class RemoteClientHandler(
.newInstance(exception.getMessage).asInstanceOf[Throwable]
} catch {
case problem =>
log.debug("Couldn't parse exception returned from RemoteServer",problem)
log.warn("Couldn't create instance of {} with message {}, returning UnparsableException",classname, exception.getMessage)
UnparsableException(classname, exception.getMessage)
}