Skip to content

Commit 01442d4

Browse files
committed
sql_cacher: MI/timer initiated table reload error logged on different log level
1 parent 10b6396 commit 01442d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/sql_cacher/sql_cacher.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1226,7 +1226,8 @@ static mi_item_t *mi_reload(const mi_params_t *params, str *key)
12261226
}
12271227
} else {
12281228
if (load_entire_table(db_hdls->c_entry, db_hdls, 1) < 0) {
1229-
LM_DBG("Failed to reload table\n");
1229+
LM_ERR("Failed to reload table %.*s\n", db_hdls->c_entry->table.len,
1230+
db_hdls->c_entry->table.s);
12301231
return init_mi_error(500, MI_SSTR("ERROR Reloading SQL database"));
12311232
}
12321233
}

0 commit comments

Comments
 (0)