Skip to content

Commit

Permalink
[sql_cacher] promote DBG to ERR to report failures
Browse files Browse the repository at this point in the history
Similar to 4ddb507

(cherry picked from commit d3cc59b)
  • Loading branch information
bogdan-iancu committed Jan 23, 2024
1 parent 0b88c8c commit 1c8e55f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/sql_cacher/sql_cacher.c
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ static int inc_cache_rld_vers(db_handlers_t *db_hdls, int *rld_vers)
memcpy(rld_vers_key.s + db_hdls->c_entry->id.len, "_sql_cacher_reload_vers", 23);

if (db_hdls->cdbf.add(db_hdls->cdbcon, &rld_vers_key, 1, 0, rld_vers) < 0) {
LM_DBG("Failed to increment reload version integer from cachedb\n");
LM_ERR("Failed to increment reload version integer from cachedb\n");
pkg_free(rld_vers_key.s);
return -1;
}
Expand Down

0 comments on commit 1c8e55f

Please sign in to comment.