Display error message on compilation fail