Revision: 7eab4ae6e0e1
Author: [email protected] <[email protected]>
Date: Tue Oct 1 12:05:45 2013 UTC
Log: Fixed Issue #188 CLI interface incorrect work
http://code.google.com/p/jss7/source/detail?r=7eab4ae6e0e1
Modified:
/m3ua/impl/src/main/java/org/mobicents/protocols/ss7/m3ua/impl/oam/M3UAShellExecutor.java
/m3ua/impl/src/main/java/org/mobicents/protocols/ss7/m3ua/impl/oam/SCTPShellExecutor.java
/sccp/sccp-impl/src/main/java/org/mobicents/protocols/ss7/sccp/impl/oam/SccpExecutor.java
=======================================
---
/m3ua/impl/src/main/java/org/mobicents/protocols/ss7/m3ua/impl/oam/M3UAShellExecutor.java
Thu Jun 27 15:50:39 2013 UTC
+++
/m3ua/impl/src/main/java/org/mobicents/protocols/ss7/m3ua/impl/oam/M3UAShellExecutor.java
Tue Oct 1 12:05:45 2013 UTC
@@ -454,7 +454,10 @@
return M3UAOAMMessages.INVALID_COMMAND;
} catch (Exception e) {
logger.error(String.format("Error while executing comand %s",
Arrays.toString(args)), e);
- return e.getMessage();
+ return e.toString();
+ } catch (Throwable t) {
+ logger.error(String.format("Error while executing comand %s",
Arrays.toString(args)), t);
+ return t.toString();
}
}
=======================================
---
/m3ua/impl/src/main/java/org/mobicents/protocols/ss7/m3ua/impl/oam/SCTPShellExecutor.java
Mon May 20 20:09:00 2013 UTC
+++
/m3ua/impl/src/main/java/org/mobicents/protocols/ss7/m3ua/impl/oam/SCTPShellExecutor.java
Tue Oct 1 12:05:45 2013 UTC
@@ -300,7 +300,10 @@
return M3UAOAMMessages.INVALID_COMMAND;
} catch (Exception e) {
logger.error(String.format("Error while executing comand %s",
Arrays.toString(args)), e);
- return e.getMessage();
+ return e.toString();
+ } catch (Throwable t) {
+ logger.error(String.format("Error while executing comand %s",
Arrays.toString(args)), t);
+ return t.toString();
}
}
=======================================
---
/sccp/sccp-impl/src/main/java/org/mobicents/protocols/ss7/sccp/impl/oam/SccpExecutor.java
Mon Sep 30 17:04:22 2013 UTC
+++
/sccp/sccp-impl/src/main/java/org/mobicents/protocols/ss7/sccp/impl/oam/SccpExecutor.java
Tue Oct 1 12:05:45 2013 UTC
@@ -22,6 +22,7 @@
package org.mobicents.protocols.ss7.sccp.impl.oam;
+import java.util.Arrays;
import java.util.Map;
import java.util.Set;
@@ -110,9 +111,10 @@
return this.manageGet(options);
}
} catch (Exception e) {
- logger.error("Error while executing command ", e);
- return e.getMessage();
+ logger.error(String.format("Error while executing comand %s",
Arrays.toString(options)), e);
+ return e.toString();
} catch (Throwable t) {
+ logger.error(String.format("Error while executing comand %s",
Arrays.toString(options)), t);
return t.toString();
}
--
---
You received this message because you are subscribed to the Google Groups "mobicents-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.