test
error handling now returns if error
This commit is contained in:
parent
f552929570
commit
047c79459d
1 changed files with 1 additions and 0 deletions
|
@ -35,4 +35,5 @@ class Pterodactyl(commands.Cog):
|
|||
url = await self.get_url(ctx)
|
||||
except LookupError as e:
|
||||
await ctx.send(f"Something went wrong.\n{e}")
|
||||
return
|
||||
await ctx.send(url)
|
||||
|
|
Reference in a new issue