mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Make SS verbose
This commit is contained in:
parent
eec0611968
commit
0b357c69e8
1 changed files with 6 additions and 5 deletions
|
@ -370,12 +370,13 @@ class OtherCog(commands.Cog):
|
|||
try:
|
||||
screenshot = await self.bot.loop.run_in_executor(
|
||||
None,
|
||||
self.screenshot_website,
|
||||
self.screenshot_website(
|
||||
ctx,
|
||||
url,
|
||||
browser,
|
||||
render_timeout
|
||||
)
|
||||
)
|
||||
except Exception as e:
|
||||
console.log(f"Error taking screenshot: {e}")
|
||||
return await ctx.edit(content=f"Error: {e}")
|
||||
|
|
Loading…
Reference in a new issue