Skip to content

Commit 2eb4e53

Browse files
authored
v3.0.6 (#67)
1 parent e952ffa commit 2eb4e53

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "DiscordBot"
3-
version = "3.0.5"
3+
version = "3.0.6"
44
description = "A simple Discord bot with OpenAI support and server administration tools"
55
urls.Repository = "https://github.com/ddc/DiscordBot"
66
urls.Homepage = "https://github.com/ddc/DiscordBot"

src/gw2/tools/gw2_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ async def _handle_api_error(self, response, endpoint):
5353
try:
5454
err = await response.json()
5555
err_msg = err.get("text", "")
56-
except ValueError, KeyError:
56+
except Exception:
5757
err_msg = ""
5858

5959
init_msg = f"{response.status})({endpoint.split('?')[0]}"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)