diff --git a/utils/pentest_gpt.py b/utils/pentest_gpt.py index 54fe295..0a0b318 100644 --- a/utils/pentest_gpt.py +++ b/utils/pentest_gpt.py @@ -495,7 +495,7 @@ class pentestGPT: break except Exception as e: # catch all general exception. # log the exception - self.log_conversation("exception", "e") + self.log_conversation("exception", str(e)) # print the exception self.console.print("Exception: " + str(e), style="bold red") # safely quit the session