diff options
author | Josh Bialkowski <josh.bialkowski@gmail.com> | 2019-11-14 15:56:32 -0800 |
---|---|---|
committer | Josh Bialkowski <josh.bialkowski@gmail.com> | 2019-12-18 07:42:16 -0800 |
commit | 7657a38ff20a7b3b2dbec5e6c981038c871f46e7 (patch) | |
tree | f7460532ab2ce706dfd33096469d57d5a006dc5b /bridge/jira/config.go | |
parent | eff830bdcb8f979da34fb9e8f782efb1598b4a44 (diff) | |
download | git-bug-7657a38ff20a7b3b2dbec5e6c981038c871f46e7.tar.gz |
codereview #1: clean lint from golangcibot
Diffstat (limited to 'bridge/jira/config.go')
-rw-r--r-- | bridge/jira/config.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bridge/jira/config.go b/bridge/jira/config.go index e33b8f28..62b7364e 100644 --- a/bridge/jira/config.go +++ b/bridge/jira/config.go @@ -105,6 +105,9 @@ func (g *Jira) Configure( fmt.Printf("Attempting to login with credentials...\n") client := NewClient(serverURL, nil) err = client.RefreshTokenRaw(jsonData) + if err != nil { + return nil, err + } // verify access to the project with credentials _, err = client.GetProject(project) |