]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
tweak
authorMichael Jerris <mike@jerris.com>
Wed, 5 Mar 2008 05:27:46 +0000 (05:27 +0000)
committerMichael Jerris <mike@jerris.com>
Wed, 5 Mar 2008 05:27:46 +0000 (05:27 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7790 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_glue.c

index b7678e44c053b64e81e00daa73afca301b4663db..189cce0a2ca9ea8f40941a8d9bb28457fa6212fc 100644 (file)
@@ -2618,7 +2618,7 @@ char *sofia_glue_execute_sql2str(sofia_profile_t *profile, switch_mutex_t *mutex
        }
 
        if (switch_core_db_prepare(db, sql, -1, &stmt, 0)) {
-               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Statement Error!\n");
+               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Statement Error [%s]!\n", sql);
                goto fail;
        } else {
                int running = 1;