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 <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-26 03:41:51 -07:00
parent f87f785a6b
commit dc8f74d0e8
1 changed files with 1 additions and 1 deletions

View File

@ -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"