aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Boris Muratov <[email protected]>2025-10-13 15:49:55 +0300
committerGravatar GitHub <[email protected]>2025-10-13 15:49:55 +0300
commit8e8d5b0c4023e957324a4e69f9704393e0e29fe2 (patch)
treed6c00938e206425aaaf30bc3f15f73fd159afbca
parentUpdate 3.13t to 3.14t (diff)
parentFix unbound error for code snippet fetch errors (diff)
Merge pull request #3408 from onerandomusername/patch-1
Fix unbound error for code snippet fetch errors
-rw-r--r--bot/exts/info/code_snippets.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/exts/info/code_snippets.py b/bot/exts/info/code_snippets.py
index eba15e825..6f67eda3c 100644
--- a/bot/exts/info/code_snippets.py
+++ b/bot/exts/info/code_snippets.py
@@ -281,6 +281,7 @@ class CodeSnippets(Cog):
f"Failed to fetch code snippet from {match[0]!r}: {error.status} "
f"{error_message} for GET {error.request_info.real_url.human_repr()}"
)
+ continue
if isinstance(result, list):
# The handler returned multiple snippets (currently only possible with our pastebin)