Module: kamailio
Branch: master
Commit: 18db511c6ab8d97daed37582379cd2ba865abde4
URL:
https://github.com/kamailio/kamailio/commit/18db511c6ab8d97daed37582379cd2b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-01-25T09:28:32+01:00
app_python: print script name in error message
---
Modified: src/modules/app_python/app_python_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/18db511c6ab8d97daed37582379cd2b…
Patch:
https://github.com/kamailio/kamailio/commit/18db511c6ab8d97daed37582379cd2b…
---
diff --git a/src/modules/app_python/app_python_mod.c
b/src/modules/app_python/app_python_mod.c
index 8844d4bbcc..92f05028b2 100644
--- a/src/modules/app_python/app_python_mod.c
+++ b/src/modules/app_python/app_python_mod.c
@@ -159,7 +159,7 @@ static int mod_init(void)
if(apy_load_script()<0) {
pkg_free(dname_src);
pkg_free(bname_src);
- LM_ERR("failed to load python script\n");
+ LM_ERR("failed to load python script: %s\n", _sr_python_load_file.s);
return -1;
}