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
+1 -1
View File
@@ -91666,7 +91666,7 @@ async function getEnabledVersionsWithOverlayBaseDatabases(defaultCliVersion, raw
);
} 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: ${getErrorMessage(e)}`
);
return [];
}
+1 -1
View File
@@ -132637,7 +132637,7 @@ async function getEnabledVersionsWithOverlayBaseDatabases(defaultCliVersion, raw
);
} 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: ${getErrorMessage(e)}`
);
return [];
}
+1 -1
View File
@@ -90595,7 +90595,7 @@ async function getEnabledVersionsWithOverlayBaseDatabases(defaultCliVersion, raw
);
} 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: ${getErrorMessage(e)}`
);
return [];
}
+1 -1
View File
@@ -88091,7 +88091,7 @@ async function getEnabledVersionsWithOverlayBaseDatabases(defaultCliVersion, raw
);
} 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: ${getErrorMessage(e)}`
);
return [];
}
+1 -1
View File
@@ -90698,7 +90698,7 @@ async function getEnabledVersionsWithOverlayBaseDatabases(defaultCliVersion, raw
);
} 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: ${getErrorMessage(e)}`
);
return [];
}
+1 -1
View File
@@ -91369,7 +91369,7 @@ async function getEnabledVersionsWithOverlayBaseDatabases(defaultCliVersion, raw
);
} 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: ${getErrorMessage(e)}`
);
return [];
}
+2 -1
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 [];
}