Skip to content

Commit

Permalink
Logged payload in Action Server Logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nupur Khare committed Jan 8, 2024
1 parent 5fdf242 commit bad63cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kairon/actions/definitions/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ async def execute(self, dispatcher: CollectingDispatcher, tracker: Tracker, doma
action=self.name,
config=vector_action_config,
sender=tracker.sender_id,
payload=str(request_body),
payload=str(request_body) if request_body else None,
response=str(response) if response else None,
bot_response=str(bot_response) if bot_response else None,
messages=msg_logger,
Expand Down

0 comments on commit bad63cd

Please sign in to comment.