Skip to content

Commit 08b893d

Browse files
fix(webhooks): Go ErrInvalidWebhook + VerifySignature(error); Ruby WebhookSignatureError + parse_*; Python WebhookSignatureError; guard test init without STREAM_*
1 parent 47b9c38 commit 08b893d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

stream_chat/base/exceptions.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ class StreamChannelException(Exception):
66
pass
77

88

9+
class WebhookSignatureError(Exception):
10+
"""Invalid webhook signature or malformed gzip/base64 envelope."""
11+
12+
913
class StreamAPIException(Exception):
1014
def __init__(self, text: str, status_code: int) -> None:
1115
self.response_text = text

0 commit comments

Comments
 (0)