fail if account was not sent
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
2d3a0a900a
commit
1ef3c8f2dd
|
@ -226,6 +226,14 @@ func main() {
|
|||
|
||||
func processGetEvent(ge *pb.Event) *pb.Event {
|
||||
log.Println("processGetEvent() START")
|
||||
if (ge.Account == nil) {
|
||||
log.Println("processGetEvent() ERROR ge.Account = nil")
|
||||
log.Println("processGetEvent() ERROR ge.Account = nil")
|
||||
log.Println("processGetEvent() ERROR ge.Account = nil")
|
||||
e := pb.MakeFailResponse()
|
||||
e.Comment = "Account = nil"
|
||||
return e
|
||||
}
|
||||
log.Println("processGetEvent() ge.Account.Token =", ge.Account.Token)
|
||||
log.Println("processGetEvent() ge.Account.Username =", ge.Account.Username)
|
||||
log.Println("processGetEvent() ge.Account.Email =", ge.Account.Email)
|
||||
|
|
Loading…
Reference in New Issue