Add missing else

This commit is contained in:
Michael B. Gale
2026-02-10 16:21:07 +00:00
parent 9f2f6d0d2e
commit 700fc11b44
2 changed files with 8 additions and 6 deletions
+4 -3
View File
@@ -109,10 +109,11 @@ export async function checkConnections(
logger.error(
`Connection test to ${registry.url} failed. (${e.statusCode})`,
);
} else {
logger.error(
`Connection test to ${registry.url} failed: ${getErrorMessage(e)}`,
);
}
logger.error(
`Connection test to ${registry.url} failed: ${getErrorMessage(e)}`,
);
}
}