From dc8f74d0e8bd60b12e7f73e060efdcddb993b77e Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 26 May 2019 03:41:51 -0700 Subject: [PATCH] this is so fucking stupid that this can crash log.Println() should be set so it can't ever fucking die Signed-off-by: Jeff Carr --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index ae204ae..0cdc9a2 100644 --- a/main.go +++ b/main.go @@ -335,7 +335,7 @@ func prepareAndSend(event *pb.Event) { log.Println("\tmain.prepareAndSend() ERROR event.Token = nil") } else { s := event.Account.Token - log.Println("\tmain.prepareAndSend() event.Token(-24:) =", s[-24:]) // substr slice + log.Println("\tmain.prepareAndSend() event.Token =", s) // s[len(s)-24:]) // this can panic because strings.() is stupid } gorillaSendProtobuf(event) gui.Data.State = "READ PROTOBUF"