added debug

main
Nickiel12 1 year ago
parent 1a1ffede6d
commit 9c5989f414

@ -67,11 +67,14 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
for line in primary_note_lines.iter() {
if line.starts_with("- [x] Send Summary") {
debug!("send summary flag caught");
do_email_summary = true;
continue;
}
if line.starts_with("- [x] Restart Headscale :(") {
debug!("restart headscale flag caught");
do_headscale_reset = true;
continue;
}
if line.starts_with("- [ ] Send Summary") {
continue;

Loading…
Cancel
Save