Change bootstrap class warning to error