Notification function called whenever the insertion of a database has failed.
This function is called after the operation.