catch in the application database failures