matrix: Rework room send error handling

* Use the tracing crate instead of println macros
 * Do not panic on failure to send messages
 * Move the send code to a separate function in preparation for adding
   a proper retry implementation
This commit is contained in:
2025-04-30 15:09:55 +00:00
parent cacbf4af45
commit 5c009476d6
3 changed files with 37 additions and 15 deletions

2
Cargo.lock generated
View File

@ -1295,7 +1295,7 @@ checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d"
[[package]]
name = "matrix-feedbot"
version = "0.1.0"
version = "0.1.2"
dependencies = [
"anyhow",
"chrono",