Add exception handling in the event, if no db is configured
update History