aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exceptions.py
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2020-03-22 19:18:57 +0100
committerGravatar kwzrd <[email protected]>2020-03-22 19:18:57 +0100
commit76fa63cab48f52e8be6d8dcdb079709e2d755641 (patch)
tree6103e01f1c99d3ebc36925c43a600c7a660ede70 /bot/exceptions.py
parentDeseasonify: improve response messages (diff)
Deseasonify: short-circuit on non-200 response status
If Github API responds with a non-200 status, we simply return an empty dict. This is a safe value - the `refresh` function will handle this as if the directory was empty.
Diffstat (limited to 'bot/exceptions.py')
0 files changed, 0 insertions, 0 deletions