Disable error message

Hi everyone,

can I know how to disable error message (traceback with red background color)?