Make SS verbose

This commit is contained in:
nex 2023-01-03 14:23:35 +00:00
parent eec0611968
commit 0b357c69e8

View file

@ -370,12 +370,13 @@ class OtherCog(commands.Cog):
try: try:
screenshot = await self.bot.loop.run_in_executor( screenshot = await self.bot.loop.run_in_executor(
None, None,
self.screenshot_website, self.screenshot_website(
ctx, ctx,
url, url,
browser, browser,
render_timeout render_timeout
) )
)
except Exception as e: except Exception as e:
console.log(f"Error taking screenshot: {e}") console.log(f"Error taking screenshot: {e}")
return await ctx.edit(content=f"Error: {e}") return await ctx.edit(content=f"Error: {e}")