diff --git a/linkcheck/log.py b/linkcheck/log.py index a2613d99..04650946 100644 --- a/linkcheck/log.py +++ b/linkcheck/log.py @@ -50,7 +50,7 @@ def _stack_format (stack): try: s.write(repr(value)) s.write(os.linesep) - except: + except StandardError: s.write("error in repr() call%s" % os.linesep) return s.getvalue()