Explicitly disable error reporting if debug is off