sca Improve error message
authorOlle E. Johansson <oej@edvina.net>
Thu, 21 Apr 2016 19:55:16 +0000 (21:55 +0200)
committerOlle E. Johansson <oej@edvina.net>
Thu, 21 Apr 2016 19:55:16 +0000 (21:55 +0200)
modules/sca/sca.c

index eacb704..9101975 100644 (file)
@@ -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;