diff --git a/linkcheck/director/__init__.py b/linkcheck/director/__init__.py index 68325395..c2f9d68f 100644 --- a/linkcheck/director/__init__.py +++ b/linkcheck/director/__init__.py @@ -39,11 +39,11 @@ def check_urls (aggregate): aggregate.start_threads() # blocks until all urls are checked aggregate.urlqueue.join() - except (KeyboardInterrupt, SystemExit): + except KeyboardInterrupt: linkcheck.log.warn(linkcheck.LOG_CHECK, "keyboard interrupt; waiting for active threads to finish") aggregate.abort() - except: + except StandardError: status.internal_error() aggregate.abort() status.disable_status()