[CHORE] Log all database errors.