From 6943f320018cb4c8852229a8e55d9c24e6947a5a Mon Sep 17 00:00:00 2001 From: Eran Turgeman <81029514+eranturgeman@users.noreply.github.com> Date: Thu, 19 Sep 2024 17:49:01 +0300 Subject: [PATCH] Improved error message (#180) --- utils/xsc/configprofile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/xsc/configprofile.go b/utils/xsc/configprofile.go index 71eebef2..c9a9b58b 100644 --- a/utils/xsc/configprofile.go +++ b/utils/xsc/configprofile.go @@ -16,7 +16,7 @@ func GetConfigProfile(serverDetails *config.ServerDetails, profileName string) ( xscVersion, err := xscManager.GetVersion() if err != nil { - return nil, fmt.Errorf("failed to get XSC service version '%s': %q", profileName, err) + return nil, fmt.Errorf("failed to get XSC service version: %q", err) } if err = clientutils.ValidateMinimumVersion(clientutils.Xsc, xscVersion, services.ConfigProfileMinXscVersion); err != nil {