[check] exception name
This commit is contained in:
parent
70ec95e922
commit
7c32fc0b09
@ -75,7 +75,8 @@ async def skip_current_song(chat_id):
|
|||||||
)
|
)
|
||||||
pop_an_item(chat_id)
|
pop_an_item(chat_id)
|
||||||
return [songname, link, type]
|
return [songname, link, type]
|
||||||
except:
|
except BaseException as error:
|
||||||
|
print(error)
|
||||||
await calls.leave_group_call(chat_id)
|
await calls.leave_group_call(chat_id)
|
||||||
await remove_active_chat(chat_id)
|
await remove_active_chat(chat_id)
|
||||||
clear_queue(chat_id)
|
clear_queue(chat_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user