Skip to content

Commit

Permalink
sql_cacher: MI initiated table reload fail log on error level
Browse files Browse the repository at this point in the history
  • Loading branch information
benceszigeti committed Jan 22, 2024
1 parent 10b6396 commit 53eb1b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/sql_cacher/sql_cacher.c
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,8 @@ static mi_item_t *mi_reload(const mi_params_t *params, str *key)
}
} else {
if (load_entire_table(db_hdls->c_entry, db_hdls, 1) < 0) {
LM_DBG("Failed to reload table\n");
LM_ERR("Failed to reload table %.*s\n", db_hdls->c_entry->table.len,
db_hdls->c_entry->table.s);
return init_mi_error(500, MI_SSTR("ERROR Reloading SQL database"));
}
}
Expand Down

0 comments on commit 53eb1b1

Please sign in to comment.