Captain Ezio commited on
Commit
1ee14ac
·
1 Parent(s): d1ee4b3

Update info.py

Browse files
Files changed (1) hide show
  1. Powers/plugins/info.py +2 -2
Powers/plugins/info.py CHANGED
@@ -256,7 +256,7 @@ async def chat_info_func(c: Gojo, message: Message):
256
  chat = str(chat)
257
  else:
258
  return await message.reply_text(
259
- f"Got and exception {e}\n**Usage:**/chinfo [USERNAME|ID]"
260
  )
261
 
262
  m = await message.reply_text(
@@ -288,7 +288,7 @@ async def chat_info_func(c: Gojo, message: Message):
288
  await message.reply_text(info_caption)
289
  except RPCError as rpc:
290
  await message.reply_text(rpc)
291
- LOGGER.error(e)
292
  LOGGER.error(format_exc())
293
  except Exception as e:
294
  await message.reply_text(text=e)
 
256
  chat = str(chat)
257
  else:
258
  return await message.reply_text(
259
+ f"Got and exception {ef}\n**Usage:**/chinfo [USERNAME|ID]"
260
  )
261
 
262
  m = await message.reply_text(
 
288
  await message.reply_text(info_caption)
289
  except RPCError as rpc:
290
  await message.reply_text(rpc)
291
+ LOGGER.error(rpc)
292
  LOGGER.error(format_exc())
293
  except Exception as e:
294
  await message.reply_text(text=e)