test error handling now returns if error

This commit is contained in:
Seaswimmer 2023-07-14 11:16:58 -04:00
parent f552929570
commit 047c79459d
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -35,4 +35,5 @@ class Pterodactyl(commands.Cog):
url = await self.get_url(ctx) url = await self.get_url(ctx)
except LookupError as e: except LookupError as e:
await ctx.send(f"Something went wrong.\n{e}") await ctx.send(f"Something went wrong.\n{e}")
return
await ctx.send(url) await ctx.send(url)