mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-05-29 22:19:28 -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
|
self.notification_channel
|
||||||
.send(Notification::new(
|
.send(Notification::new(
|
||||||
"heuristic-warning".to_string(),
|
"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)),
|
Some(Duration::from_secs(60 * 5)),
|
||||||
))
|
))
|
||||||
.await
|
.await
|
||||||
|
|||||||
Reference in New Issue
Block a user