From 50ec11dfb76c4044f379a6682fb9b29165354ef4 Mon Sep 17 00:00:00 2001 From: arielle Date: Mon, 13 Oct 2025 02:39:41 -0400 Subject: Fix unbound error for code snippet fetch errors closes GH-3404 --- bot/exts/info/code_snippets.py | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3