Skip to content

Commit

Permalink
Merge pull request #3288 from purecloudlabs/hotfix/sql_cacher_mi_relo…
Browse files Browse the repository at this point in the history
…ad_error_loglevel

sql_cacher: MI/timer initiated table reload error logged on different log level

(cherry picked from commit 4ddb507)
  • Loading branch information
bogdan-iancu committed Jan 23, 2024
1 parent e1abbe6 commit 1904beb
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 @@ -1180,7 +1180,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 1904beb

Please sign in to comment.