DocJade / artifice

A high-performance Discord Media Bot, built with Rust.
https://hub.docker.com/r/docjade/artifice
GNU Affero General Public License v3.0
1 stars 1 forks source link

Better errors #31

Open DocJade opened 3 months ago

DocJade commented 3 months ago

Currently when an error occurs, we just send a message with the contents of that error's string output.

We should instead upload it as a txt file and put a link to the github issues page where people can submit reports.

Example: (not exact wording, just a layout)

[attatchment]
Oh no! Artifice broke!
Report the issue on [GitHub](link to repo)
Sorry!
DocJade commented 3 months ago

This is blocked until command processing is moved into jobs.

DocJade commented 3 months ago

https://github.com/serenity-rs/poise/blob/5b369bbafde38f74670681dc9f4b55430712a4ff/src/structs/framework_error.rs#L57 https://github.com/serenity-rs/poise/blob/5b369bbafde38f74670681dc9f4b55430712a4ff/src/builtins/mod.rs#L50

DocJade commented 2 months ago

Command processing has moved, this is no longer blocked