Skip to content

Conversation

@joxd11222
Copy link

I have fixed traceback fixes, it takes 0 arguments for "print_exc" or "format_exc" to work, I have remove the exception from the arguments, there was also a website link without the slash needed, I fixed it: "https:/docs.astrobirb.dev fixed to -> https://docs.astrobirb.dev".

@markination
Copy link
Contributor

Couldn't the comments be removed? Simply documenting them should be enough right but commenting everything you want to say will just clutter codebase

@joxd11222
Copy link
Author

They can obviously be removed. Just make sure to understand it and that it doesn't happen again.

try:
await Channel.send(embed=embed, files=files)
except Exception as e:
except Exception:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to actually reference the exception

except Exception as e:

otherwise the code in the block will not work

)
except Exception as e:
except Exception:
import traceback
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Imports should be at top of file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants