diff --git a/examples/discord.py b/examples/discord.py index 26eb2dc..65969c3 100644 --- a/examples/discord.py +++ b/examples/discord.py @@ -46,4 +46,5 @@ def handle(ad: lbc.Ad, search_name: str) -> None: "attachments": [] } - requests.post(WEBHOOK_URL, json=payload) \ No newline at end of file + response = requests.post(WEBHOOK_URL, json=payload) + response.raise_for_status() \ No newline at end of file