diff options
-rw-r--r-- | paste/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/__init__.py b/paste/__init__.py index 482c534..2ec00a4 100644 --- a/paste/__init__.py +++ b/paste/__init__.py @@ -92,7 +92,7 @@ def catch_exceptions(app: App, environ: Env, start_response: StartResponse) -> R except Exception as e: print("".join(traceback.format_exception(type(e), e, e.__traceback__))) return simple_response( - start_response, "500 Internal Server Error", sys.exc_info() + start_response, "500 Internal Server Error", exc_info=sys.exc_info() ) |