Skip to content

Commit

Permalink
Add changelog, update log message
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandarmijat committed Jun 27, 2024
1 parent c4b765a commit 6785065
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelog/1113.misc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Changed log message level from `error` to `debug`.
- Rephrased the log message to precisely describe that the request is being retried if the domain context is missing.
- Referenced this behavior in the documentation.
5 changes: 4 additions & 1 deletion rasa_sdk/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,10 @@ class ActionMissingDomainException(Exception):
def __init__(self, action_name: Text, message: Optional[Text] = None) -> None:
self.action_name = action_name
self.message = (
message or "Missing domain context, assistant will retry the request."
message
or "Missing domain context, assistant will retry the request and include "
"the domain in the request payload. For more information please see "
"https://rasa.com/docs/rasa-pro/action-server/"
)

def __str__(self) -> Text:
Expand Down

0 comments on commit 6785065

Please sign in to comment.