except
, specify exception instead FLK-E72239
40 try:
41 await message.edit("```Making a Quote\nProcessing {}%```".format(progress))
42 except:43 await message.edit("ERROR")
44
45 if msg_id := msg[0]['message_id']:
28 msg = await bot.get_history("@QuotLyBot", 1)
29 print(msg)
30 is_sticker = True
31 except:32 await sleep(1)
33
34 progress += random.randint(0, 5)
Using except
without a specific exception can be error prone.