-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Currently we report panics to a crash.log file and give users an option to send it to discord for concrete logging.
Possible scenario the http request might fail or hog resources especially with it's blocking nature.
Lines 108 to 114 in f5e222e
| let client = reqwest::blocking::Client::new(); | |
| let result = client.post(webhook_url).json(&payload).send(); | |
| if let Err(err) = result { | |
| error!(error=?err, "could not send alert to Discord\nMessage: {message}"); | |
| } |
Solution:
- Add timeout to limit resource consumption.
- Use retry mechanism to ensure panics are reported reliably.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels