Skip to content

Commit

Permalink
fix #1 jira search error does not display anything that could help to…
Browse files Browse the repository at this point in the history
… fix search request
  • Loading branch information
vjeantet committed Jul 21, 2016
1 parent 64bc391 commit 76f02c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jobs/JiraIssueCount.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func (j *jiraIssueCount) getNumberOfIssues(jql string) (int, error) {

_, body, err := jiraClient.Issue.Search(jql, &options)
if err != nil {
return 0, fmt.Errorf("JiraJob : error jira search : %s", err)
return 0, fmt.Errorf("JiraJob : search error : %s, %s", err, jql)
}

return body.Total, nil
Expand All @@ -143,7 +143,7 @@ func (j *jiraIssueCount) getNumberOfIssues(jql string) (int, error) {

func (j *jiraIssueCount) readIndicators(dashroot string) {
//init empty Indicators
for k, _ := range j.config.Indicators.Items() {
for k := range j.config.Indicators.Items() {
j.config.Indicators.Remove(k)
}

Expand Down

0 comments on commit 76f02c5

Please sign in to comment.