Improve error message

This commit is contained in:
Henry Mercer
2026-05-08 18:05:35 +01:00
parent 42d7f62579
commit 87ac48dae6
7 changed files with 8 additions and 7 deletions

View File

@@ -308,7 +308,8 @@ export async function getEnabledVersionsWithOverlayBaseDatabases(
);
} catch (e) {
logger.warning(
`While setting up CodeQL, was unable to list overlay-base databases in the Actions cache. Details: ${e}`,
"Could not list overlay-base databases in the Actions cache while choosing a default " +
`CodeQL CLI version, falling back to the highest enabled version. Details: ${util.getErrorMessage(e)}`,
);
return [];
}