Skip to content

Commit

Permalink
Update webhook_manager.py
Browse files Browse the repository at this point in the history
occured -> occurred
  • Loading branch information
eltociear authored Dec 25, 2023
1 parent 4a4ae8e commit 2f66d0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superagi/helper/webhook_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def agent_status_change_callback(self, agent_execution_id, curr_status, old_stat
try:
request = requests.post(webhook_obj.url.strip(), data=json.dumps(webhook_obj_body), headers=webhook_obj.headers)
except Exception as e:
logger.error(f"Exception occured in webhooks {e}")
logger.error(f"Exception occurred in webhooks {e}")
error=str(e)
if request is not None and request.status_code not in [200,201] and error is None:
error=request.text
Expand Down

0 comments on commit 2f66d0d

Please sign in to comment.