You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ab...@apache.org on 2024/03/14 01:55:52 UTC

(incubator-devlake) branch release-v0.21 updated: fix: some logs (#7163) (#7164)

This is an automated email from the ASF dual-hosted git repository.

abeizn pushed a commit to branch release-v0.21
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/release-v0.21 by this push:
     new 5217512b5 fix: some logs (#7163) (#7164)
5217512b5 is described below

commit 5217512b52e89f5ffc6336e085a6aba319ad8460
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Thu Mar 14 09:55:43 2024 +0800

    fix: some logs (#7163) (#7164)
    
    Co-authored-by: abeizn <zi...@merico.dev>
---
 backend/plugins/jira/api/connection_api.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend/plugins/jira/api/connection_api.go b/backend/plugins/jira/api/connection_api.go
index df10db8af..d206ccdfd 100644
--- a/backend/plugins/jira/api/connection_api.go
+++ b/backend/plugins/jira/api/connection_api.go
@@ -71,7 +71,7 @@ func testConnection(ctx context.Context, connection models.JiraConn) (*JiraTestC
 		return nil, errors.NotFound.New(fmt.Sprintf("Seems like an invalid Endpoint URL, please try %s", restUrl.String()))
 	}
 	if res.StatusCode == http.StatusUnauthorized {
-		return nil, errors.HttpStatus(http.StatusBadRequest).New("Error credential")
+		return nil, errors.HttpStatus(http.StatusBadRequest).New("Please check your credential")
 	}
 
 	resBody := &models.JiraServerInfo{}