Skip to content

Commit 8e8d5b0

Browse files
authored
Merge pull request #3408 from onerandomusername/patch-1
Fix unbound error for code snippet fetch errors
2 parents b2714a4 + 50ec11d commit 8e8d5b0

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)