diff --git a/server/main.py b/server/main.py index f1e0d2a..f645b78 100644 --- a/server/main.py +++ b/server/main.py @@ -42,8 +42,8 @@ def get_diff(stream_id: str, commit_current: str, commit_previous: str, request: diff_commit = mesh_differ.process_diff( stream_id, commit_current, commit_previous) except Exception as e: - print(e.with_traceback()) - raise HTTPException(500, e.with_traceback()) + print(str(e)) + raise HTTPException(500, str(e)) return {"commit": diff_commit} @@ -70,5 +70,5 @@ def get_diff_check(stream_id: str, commit_current: str, commit_previous: str, re return {"exists": False, "commit": None} except Exception as e: - print(e.with_traceback()) - raise HTTPException(500, e.with_traceback()) + print(str(e)) + raise HTTPException(500, str(e))