Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

change handle_error to handle_user_error #16

Closed
laralove143 opened this issue Apr 15, 2023 · 0 comments
Closed

change handle_error to handle_user_error #16

laralove143 opened this issue Apr 15, 2023 · 0 comments

Comments

@laralove143
Copy link
Owner

laralove143 commented Apr 15, 2023

while there isn't many ways to hande user errors, there's many ways to handle internal errors, you may want to use a tracing crate, log your own errors for metrics etc

  • deprecates handle_error since the only addition would be to simply log the errors with Bot::log
  • removes printing and file-logging functionality, since those aren't discord-related

closing #12 in favor of this

@laralove143 laralove143 added the enhancement New feature or request label Apr 15, 2023
@laralove143 laralove143 removed the enhancement New feature or request label Apr 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant