Update the source code files so that only error messages are shown