include event severity in message

This commit is contained in:
Cooper Quintin
2025-08-20 16:19:04 -07:00
committed by Cooper Quintin
parent 375789aad9
commit 898bdbb6cd

View File

@@ -208,7 +208,7 @@ impl DiagTask {
self.notification_channel
.send(Notification::new(
"heuristic-warning".to_string(),
"Rayhunter has emitted a warning!".to_string(),
format!("Rayhunter has detected a {:?} severity event", max_type),
Some(Duration::from_secs(60 * 5)),
))
.await