randydev commited on
Commit
6d16add
·
verified ·
1 Parent(s): dbea3c5
Files changed (1) hide show
  1. akn/clientmulti_bot.py +1 -1
akn/clientmulti_bot.py CHANGED
@@ -459,7 +459,7 @@ async def _startv_client_downloader_safely(client: Client, index: int, user_id:
459
 
460
  except asyncio.TimeoutError:
461
  LOGS.warning(f"⌛ Timeout starting bot #{index} for user {user_id}")
462
- except AccessTokenExpired:
463
  LOGS.error(f"⚠️ Error AccessTokenExpired bot #{index} for user {user_id}: {str(e)}")
464
  await db.alldl_bot.update_one(
465
  {"user_id": user_id, "bots.bot_token": client.bot_token},
 
459
 
460
  except asyncio.TimeoutError:
461
  LOGS.warning(f"⌛ Timeout starting bot #{index} for user {user_id}")
462
+ except AccessTokenExpired as e:
463
  LOGS.error(f"⚠️ Error AccessTokenExpired bot #{index} for user {user_id}: {str(e)}")
464
  await db.alldl_bot.update_one(
465
  {"user_id": user_id, "bots.bot_token": client.bot_token},