diff options
| author | 2025-11-10 19:44:23 +0000 | |
|---|---|---|
| committer | 2025-11-10 19:45:42 +0000 | |
| commit | 3b5c355314e602a40081b73e8502ac34314c7d9b (patch) | |
| tree | 606085ba052746d1018d56fa0eca255adde4e387 /pydis_core/_bot.py | |
| parent | Unignore B904 (raise-without-from-inside-except) (diff) | |
Fix B904 across project (raise-without-from-except-inside)
Diffstat (limited to 'pydis_core/_bot.py')
| -rw-r--r-- | pydis_core/_bot.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pydis_core/_bot.py b/pydis_core/_bot.py index 783715dd..2510bd05 100644 --- a/pydis_core/_bot.py +++ b/pydis_core/_bot.py @@ -317,8 +317,8 @@ class BotBase(commands.Bot): try: await self.ping_services() - except Exception as e: # noqa: BLE001 - raise StartupError(e) + except Exception as e: + raise StartupError(e) from e async def ping_services(self) -> None: """Ping all required services on setup to ensure they are up before starting.""" |