Module: kamailio
Branch: master
Commit: 64eff461c00aaa34a46150cf45827526cda13938
URL:
https://github.com/kamailio/kamailio/commit/64eff461c00aaa34a46150cf4582752…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: 2016-04-21T21:55:16+02:00
sca Improve error message
---
Modified: modules/sca/sca.c
---
Diff:
https://github.com/kamailio/kamailio/commit/64eff461c00aaa34a46150cf4582752…
Patch:
https://github.com/kamailio/kamailio/commit/64eff461c00aaa34a46150cf4582752…
---
diff --git a/modules/sca/sca.c b/modules/sca/sca.c
index eacb704..9101975 100644
--- a/modules/sca/sca.c
+++ b/modules/sca/sca.c
@@ -173,7 +173,7 @@ static int sca_bind_srdb1( sca_mod *scam, db_func_t *db_api )
int rc = -1;
if ( db_bind_mod( scam->cfg->db_url, db_api ) != 0 ) {
- LM_ERR( "Failed to initialize required DB API\n" );
+ LM_ERR( "Failed to initialize required DB API - %.*s\n", STR_FMT(
scam->cfg->db_url));
goto done;
}
scam->db_api = db_api;