Try to process db errors.