Skip to content

Commit 50ec11d

Browse files
Fix unbound error for code snippet fetch errors
closes GH-3404
1 parent b2714a4 commit 50ec11d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bot/exts/info/code_snippets.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ async def _parse_snippets(self, content: str) -> str:
281281
f"Failed to fetch code snippet from {match[0]!r}: {error.status} "
282282
f"{error_message} for GET {error.request_info.real_url.human_repr()}"
283283
)
284+
continue
284285

285286
if isinstance(result, list):
286287
# The handler returned multiple snippets (currently only possible with our pastebin)

0 commit comments

Comments
 (0)