Captain Ezio commited on
Commit
b68c1ea
·
1 Parent(s): 3eef6ec

Update info.py

Browse files
Files changed (1) hide show
  1. Powers/plugins/info.py +3 -3
Powers/plugins/info.py CHANGED
@@ -142,9 +142,9 @@ async def info_func(c: Gojo, message: Message):
142
  await message.stop_propagation()
143
 
144
  try:
145
- user, _ , _= extract_user(c , message)
146
- except Exception:
147
- return
148
 
149
  if not user:
150
  message.reply_text("Can't find user to fetch info!")
 
142
  await message.stop_propagation()
143
 
144
  try:
145
+ user, _ , _= await extract_user(c , message)
146
+ except Exception as e:
147
+ return await message.reply_text(f"Got an error while running extract_user function error is {e}")
148
 
149
  if not user:
150
  message.reply_text("Can't find user to fetch info!")