[Refactor][gitlab,jira,jenkins,tapd] Missing error handling
Missing error handling in GET GET /plugins/gitlab/connections/connectionId Missing error handling in GET GET /plugins/jenkins/connections/connectionId Missing error handling in GET GET /plugins/jira/connections/connectionId Missing error handling in GET GET /plugins/tapd/connections/connectionId
To fix the error handling part {missing: if err != nil { return nil, err }}
Thanks for reporting the issue. I'm looking forward to your PR.
I have finished to looking forward to your PR.
The err has been return whether it is empty or not.
You can changed the code as
if err != nil {
return nil,err
}
return &core.ApiResourceOutput{Body: connection}, nil
and update your pr.
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.