From ded87e1a808359e34eee9cedcc4e2d251a60a972 Mon Sep 17 00:00:00 2001 From: raghavaggarwal2308 Date: Wed, 31 Jan 2024 18:08:20 +0530 Subject: [PATCH] [MM-178] Updated error message to use Name instead of Display name --- server/instance_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/instance_server.go b/server/instance_server.go index 2648ad16e..bc1d7b679 100644 --- a/server/instance_server.go +++ b/server/instance_server.go @@ -107,7 +107,7 @@ func (si *serverInstance) GetClient(connection *Connection) (client Client, retu if returnErr == nil { return } - returnErr = errors.WithMessage(returnErr, "failed to get a Jira client for "+connection.DisplayName) + returnErr = errors.WithMessage(returnErr, fmt.Sprintf("failed to get a Jira client for %s", connection.Name)) }() if connection.Oauth1AccessToken == "" || connection.Oauth1AccessSecret == "" {