mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-26 23:49:59 -07:00
include event severity in message
This commit is contained in:
committed by
Cooper Quintin
parent
375789aad9
commit
898bdbb6cd
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user