]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
FS-7269 : Add error logs in exec_user_method() when exception occurs.
authorVineet Chaudhary <code.vineet@gmail.com>
Thu, 12 Feb 2015 13:11:12 +0000 (18:41 +0530)
committerVineet Chaudhary <code.vineet@gmail.com>
Thu, 12 Feb 2015 13:11:12 +0000 (18:41 +0530)
commit299b313b786a4a3e999a5503e7b303991c9c3cd6
treee8236cb67b46bab7360733c617a943085083631d
parent202fe38661a925e6ce61caff2f129239be9371f2
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.
src/mod/languages/mod_java/modjava.c