diff options
author | 2025-10-13 15:49:55 +0300 | |
---|---|---|
committer | 2025-10-13 15:49:55 +0300 | |
commit | 8e8d5b0c4023e957324a4e69f9704393e0e29fe2 (patch) | |
tree | d6c00938e206425aaaf30bc3f15f73fd159afbca | |
parent | Update 3.13t to 3.14t (diff) | |
parent | Fix 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.py | 1 |
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) |