Skip to content
Snippets Groups Projects
Commit 79729e1f authored by Ismail Ashraq's avatar Ismail Ashraq
Browse files

linting

parent 7c6bf69c
Branches
Tags
No related merge requests found
......@@ -187,7 +187,7 @@ class OpenAIEncoder(BaseEncoder):
)
else:
raise
except Exception as e:
logger.error(f"OpenAI API call failed. Error: {e}")
raise ValueError(f"OpenAI API call failed. Error: {e}") from e
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment