This commit is contained in:
SPRINX0\prochazka
2024-11-28 15:02:27 +01:00
parent 48ec2bdac8
commit 1cd8e8e376

View File

@@ -52,7 +52,7 @@ module.exports = {
if (existing) return existing;
const connection = await connections.getCore({ conid });
if (!connection) {
throw new Error(`Connection with conid="${conid}" not fund`);
throw new Error(`Connection with conid="${conid}" not found`);
}
if (connection.passwordMode == 'askPassword' || connection.passwordMode == 'askUser') {
throw new MissingCredentialsError({ conid, passwordMode: connection.passwordMode });