Fix token error reporting

main
Mari 4 years ago
parent f121db8984
commit 2d36d26e28
  1. 2
      main.go

@ -205,7 +205,7 @@ func main() {
token, err := tokenCacheSource.Token() token, err := tokenCacheSource.Token()
if err != nil { if err != nil {
log.Fatalf("Failed getting token: %v", token) log.Fatalf("Failed getting token: %v", err)
} }
if *checkToken { if *checkToken {
fmt.Println(token.Expiry) fmt.Println(token.Expiry)

Loading…
Cancel
Save