Log warning on invalid message
authorSiraaj Khandkar <siraaj@khandkar.net>
Tue, 10 Nov 2020 10:26:02 +0000 (05:26 -0500)
committerSiraaj Khandkar <siraaj@khandkar.net>
Tue, 10 Nov 2020 10:26:02 +0000 (05:26 -0500)
tt

diff --git a/tt b/tt
index a8c8419..e8f1010 100755 (executable)
--- a/tt
+++ b/tt
@@ -70,7 +70,9 @@
                   (define toks (string-split line (regexp "\t+")))
                   (if (= 2 (length toks))
                     (msg<-toks nick toks)
-                    #f)
+                    (begin
+                      (log-warning "Invalid msg from nick:~a, msg:~a" nick line)
+                      #f))
                   )
                msg_lines))])
     msgs))
This page took 0.02126 seconds and 4 git commands to generate.