added debug

This commit is contained in:
Nickiel12 2023-12-03 15:34:30 -08:00
parent 1a1ffede6d
commit 9c5989f414

View file

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