Last analyzed 6f3c973 3 months ago
Default analysis branch is
Currently analyzing run
Exception caught is very general PYL-W0703
Anti-pattern
3 months ago ā€” 5 months old
Catching too general exception Exception
200    try:
201        synced = await client.tree.sync()
202        print(f"Synced {len(synced)} command(s)")
203    except Exception as e:204        print(e)
205
206
Catching too general exception Exception
 35collection = db["BRProgress"]
 36try:
 37    print(cluster.server_info())  # prints sever info is connection works
 38except Exception: 39    print("Unable to connect to the server.")
 40
 41
Catching too general exception Exception
166            temp = ast.literal_eval(BuddyRead(mess.strip(), username)())
167            print(temp)
168            embed = discord.Embed.from_dict(temp["embeds"][-1])
169        except Exception as exc_:170            await message.channel.send(
171                "Sorry, couldn't process Book request. Exception: {}".format(
172                    exc_))
Catching too general exception Exception
177                msg = await message.channel.send(temp["content"], embed=embed)
178                await msg.add_reaction("āœ…")
179                await message.delete()
180            except Exception as exc_:181                await message.channel.send(
182                    "Sorry, couldn't process Buddy read request. Exception: {}"
183                    .format(exc_))