From 3a35375958dc0c7885a65bf585bb007e502454bc Mon Sep 17 00:00:00 2001 From: jvmdc <109624469+jvmdc@users.noreply.github.com> Date: Mon, 22 Jul 2024 15:54:28 +0200 Subject: [PATCH] fix(bitbucket-server): Clarify error when both BB password and access token are set (#30296) --- lib/modules/platform/bitbucket-server/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/platform/bitbucket-server/index.ts b/lib/modules/platform/bitbucket-server/index.ts index 2e965bbab9..82e5cf197c 100644 --- a/lib/modules/platform/bitbucket-server/index.ts +++ b/lib/modules/platform/bitbucket-server/index.ts @@ -98,7 +98,7 @@ export async function initPlatform({ ); } else if (password && token) { throw new Error( - 'Init: You must either configure a Bitbucket Server password or a HTTP access token', + 'Init: You must configure either a Bitbucket Server password or a HTTP access token, not both', ); } // TODO: Add a connection check that endpoint/username/password combination are valid (#9595) -- GitLab