mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 18:27:59 -05:00
[sentry] use raven-aiohttp (#1967)
This commit is contained in:
committed by
Toby Harradine
parent
e3bff7e87c
commit
cf7cafc261
@@ -295,6 +295,13 @@ class Red(RedBase, discord.AutoShardedClient):
|
||||
You're welcome Caleb.
|
||||
"""
|
||||
|
||||
async def logout(self):
|
||||
"""Logs out of Discord and closes all connections."""
|
||||
if self._sentry_mgr:
|
||||
await self._sentry_mgr.close()
|
||||
|
||||
await super().logout()
|
||||
|
||||
async def shutdown(self, *, restart: bool = False):
|
||||
"""Gracefully quit Red.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user