diff --git a/src/notify.rs b/src/notify.rs
index 974c385..129ae39 100644
--- a/src/notify.rs
+++ b/src/notify.rs
@@ -55,14 +55,17 @@ impl Notifier {
match &self.matrix {
None => {}
Some(OptionSince::Some((_client, room))) => {
- room.send(
- ruma::events::room::message::RoomMessageEventContent::text_plain(
- "New comment.",
- ),
- None,
- )
- .await
- .unwrap();
+ if let Err(e) = room
+ .send(
+ ruma::events::room::message::RoomMessageEventContent::text_plain(
+ "New comment.",
+ ),
+ None,
+ )
+ .await
+ {
+ error!("Sending Matrix message: {:?}", e);
+ }
}
Some(OptionSince::NoneSince(earlier)) => {
if SystemTime::now().duration_since(*earlier).unwrap()