mirror of
https://gitlab.com/chicken-riders/RcGcDw.git
synced 2025-02-23 00:24:09 +00:00
Trying to work out why pipeline fails
This commit is contained in:
parent
4bff2d2038
commit
f15525c542
|
@ -140,6 +140,9 @@ def send_to_discord_webhook(data: Optional[DiscordMessage], metadata: DiscordMes
|
|||
except requests.exceptions.ConnectionError:
|
||||
logger.warning("Connection error while sending the data to a webhook")
|
||||
return 3
|
||||
except requests.exceptions.MissingSchema:
|
||||
logger.debug(repr(data))
|
||||
sys.exit(1)
|
||||
else:
|
||||
return handle_discord_http(result.status_code, data, result)
|
||||
|
||||
|
|
Loading…
Reference in a new issue