From: Siraaj Khandkar Date: Tue, 10 Nov 2020 10:26:02 +0000 (-0500) Subject: Log warning on invalid message X-Git-Tag: 0.1.0~16 X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=cdeef19ac448a1503f04ed3765dd88e37b427920;p=tt.git Log warning on invalid message --- diff --git a/tt b/tt index a8c8419..e8f1010 100755 --- 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))