aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/jira/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/jira/config.go')
-rw-r--r--bridge/jira/config.go3
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)