when encountering an error during compilation, show the source text if available