Spit out error message if needs be