diff --git a/engines/python/setup/djl_python_engine.py b/engines/python/setup/djl_python_engine.py index c26fb408d..404070ac3 100644 --- a/engines/python/setup/djl_python_engine.py +++ b/engines/python/setup/djl_python_engine.py @@ -125,7 +125,7 @@ def run_server(self): outputs = Output().error( f"Invalid output type: {type(outputs)}") except Exception as e: - logging.exception("Failed invoke service.invoke_handler()", e) + logging.exception("Failed invoke service.invoke_handler()") if type(e).__name__ == "OutOfMemoryError" or type( e).__name__ == "MemoryError": outputs = Output(code=507, message=str(e))