Last analyzed f4ccc05 3 months ago
Default analysis branch is
Currently analyzing run
Exception caught is very general PYL-W0703
Anti-pattern
3 months ago6 months old
Catching too general exception Exception
488                        err400 = True
489                        return
490
491        except Exception as e:492            try:
493                try:
494                    await query.message.edit(Messages.ERROR_TXT.format(e))
Catching too general exception Exception
504                except:
505                    pass
506                LOGGER.error(e)
507            except Exception as err:508                LOGGER.error(err)
509                await archive_msg.reply(err)
510
Catching too general exception Exception
593        await update_uploaded(user_id, upload_count=sent_files)
594        try:
595            shutil.rmtree(f"{Config.DOWNLOAD_LOCATION}/{spl_data[1]}")
596        except Exception as e:597            await query.message.edit(Messages.ERROR_TXT.format(e))
598            await archive_msg.reply(Messages.ERROR_TXT.format(e))
599