summaryrefslogtreecommitdiff
path: root/coverage/cmdline.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/cmdline.py')
-rw-r--r--coverage/cmdline.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/coverage/cmdline.py b/coverage/cmdline.py
index 89420241..bbddf0a2 100644
--- a/coverage/cmdline.py
+++ b/coverage/cmdline.py
@@ -754,10 +754,7 @@ def main(argv=None):
try:
status = CoverageScript().command_line(argv)
except ExceptionDuringRun as err:
- # An exception was caught while running the product code. The
- # sys.exc_info() return tuple is packed into an ExceptionDuringRun
- # exception.
- traceback.print_exception(*err.args)
+ # An exception was caught while running the product code.
status = ERR
except CoverageException as err:
# A controlled error inside coverage.py: print the message to the user.