Commit Graph
2 Commits
Author SHA1 Message Date
Vineet Chaudhary 299b313b78 FS-7269 : Add error logs in exec_user_method() when exception occurs.
In exec_user_method() report ERROR LOG to console in cases exceptions occurs,
like if any of class/method/userMethod->arg is null or for any reason which
sets status to SWITCH_STATUS_FALSE because that prevents loading mod_java and
users don't have clue why it is failing to load.

With this patch error logs can tell why method failed to execute.
2015-02-12 18:41:12 +05:30
Vineet Chaudhary adccf499ad FS-7256 : Unable to load mod_java.
FS not able to load mod_java because in load_config switch_status_t status
is not initialised and in some conditions status is not gets set ever
resulting returning garbage value, resulting failuar to load mod_java.so.

With this patch status is set to SWITCH_STATUS_SUCCESS so in case everything
is loaded it can load mod_java else status is set to SWITCH_STATUS_FALSE(which
is already covered).
2015-02-10 12:43:26 +05:30