@ -241,14 +241,16 @@ public class RtorrentAdapter implements IDaemonAdapter {
@@ -241,14 +241,16 @@ public class RtorrentAdapter implements IDaemonAdapter {
DLog.d(LOG_NAME,"Calling "+serverMethod+" with params ["+(params.length()>300?params.substring(0,300)+"...":params)+" ]");
try{
DLog.d(LOG_NAME,"Calling "+serverMethod+" with params ["+(params.length()>100?params.substring(0,100)+"...":params)+" ]");
returnrpcclient.call(serverMethod,arguments);
}catch(XMLRPCExceptione){
DLog.d(LOG_NAME,e.toString());
thrownewDaemonException(ExceptionType.ConnectionError,"Error making call to "+serverMethod+" with params "+arguments.toString()+": "+e.toString());
if(e.getCause()instanceofDaemonException)
throw(DaemonException)e.getCause();
thrownewDaemonException(ExceptionType.ConnectionError,"Error making call to "+serverMethod+" with params ["+(params.length()>100?params.substring(0,100)+"...":params)+" ]: "+e.toString());