Skip to content

Commit

Permalink
ims_charging: log message on db updated error
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Dec 5, 2023
1 parent 4f6a268 commit 3a02bf4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/modules/ims_charging/ro_db_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,9 @@ void ro_update_db(unsigned int ticks, void *param)

for(ro_session = ro_session_entry.first; ro_session != NULL;
ro_session = ro_session->next) {
update_ro_dbinfo_unsafe(ro_session);
if(update_ro_dbinfo_unsafe(ro_session) != 0) {
LM_ERR("failed to update ro_session in DB\n");
}
}
ro_session_unlock(ro_session_table, &ro_session_entry);
}
Expand Down

0 comments on commit 3a02bf4

Please sign in to comment.