Updated database error output.