[check] exception name

This commit is contained in:
levina 2022-02-21 16:04:59 +07:00 committed by GitHub
parent 70ec95e922
commit 7c32fc0b09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,8 @@ async def skip_current_song(chat_id):
)
pop_an_item(chat_id)
return [songname, link, type]
except:
except BaseException as error:
print(error)
await calls.leave_group_call(chat_id)
await remove_active_chat(chat_id)
clear_queue(chat_id)