diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index 24799fb1bbb..b06935e8e6f 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py @@ -64,7 +64,7 @@ _srcfile = os.path.normcase(_srcfile) def currentframe(): """Return the frame object for the caller's stack frame.""" try: - raise 'catch me' + raise Exception except: return sys.exc_traceback.tb_frame.f_back