1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-04 10:19:33 +02:00

more information in error message

This commit is contained in:
Nikolay Pultsin 2011-06-18 21:47:05 +01:00
parent 61da8d3c66
commit f0223ca00a

View file

@ -55,7 +55,7 @@ public class ApiImplementation extends ApiInterface.Stub implements ApiMethods {
return new ApiObject.Error("Unsupported method code: " + method); return new ApiObject.Error("Unsupported method code: " + method);
} }
} catch (Throwable e) { } catch (Throwable e) {
return new ApiObject.Error("Exception in method " + method + ": " + e.getMessage()); return new ApiObject.Error("Exception in method " + method + ": " + e);
} }
} }