Skip to content

Commit 0ea8b1e

Browse files
committed
fix
1 parent 6930282 commit 0ea8b1e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

template_langgraph/internals/notifiers.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,11 @@ def notify(self, text: str):
8181
logger.error(
8282
f"Failed to send Slack notification: {response.text}, actual status code: {response.status_code}"
8383
)
84-
raise httpx.HTTPStatusError(f"Failed to send Slack notification: {response.json()}")
84+
raise httpx.HTTPStatusError(
85+
f"Failed to send Slack notification: {response.text}",
86+
request=response.request,
87+
response=response,
88+
)
8589

8690

8791
def get_notifier(settings: Settings = None) -> BaseNotifier:

0 commit comments

Comments
 (0)