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:
parent
f87f785a6b
commit
dc8f74d0e8
2
main.go
2
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"
|
||||
|
|
Loading…
Reference in New Issue