Skip to content

Commit

Permalink
Remove useless error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
shellbear committed Oct 27, 2019
1 parent 470ecf3 commit c2e95cc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/epical/google.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ func getClient(config *oauth2.Config, credentialsPath string) *http.Client {
tok = getTokenFromWeb(config)
saveToken(tokFile, tok)
}
if err != nil {
log.Fatalln(err)
}

return config.Client(context.Background(), tok)
}
Expand Down

0 comments on commit c2e95cc

Please sign in to comment.