move log message to avoid logging null
This commit is contained in:
parent
16690e491d
commit
30c27efb62
|
@ -501,6 +501,8 @@ SWITCH_DECLARE(switch_status_t) _switch_cache_db_get_db_handle(switch_cache_db_h
|
|||
goto end;
|
||||
}
|
||||
|
||||
new_dbh = create_handle(type);
|
||||
|
||||
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, NULL, SWITCH_LOG_DEBUG10,
|
||||
"Create Cached DB handle %s [%s] %s:%d\n", new_dbh->name, switch_cache_db_type_name(type), file, line);
|
||||
|
||||
|
|
Loading…
Reference in New Issue