diff --git a/main.py b/main.py index 36552ac..3a15fec 100644 --- a/main.py +++ b/main.py @@ -58,6 +58,9 @@ async def fm(ctx: nerimity.Context, params: str = ""): await ctx.send("[#e5323b]Error: User has no recent tracks or they're set to private.") except pylast.WSError: await ctx.send("[#e5323b]Error: User not found.") + except Exception as e: + print(e) + await ctx.send("[#e5323b]Unknown error.") @client.listen("on_ready") async def on_ready(params):