Skip to content

Commit 87ac48d

Browse files
committed
Improve error message
1 parent 42d7f62 commit 87ac48d

7 files changed

Lines changed: 8 additions & 7 deletions

File tree

lib/analyze-action.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/init-action-post.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/init-action.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/setup-codeql-action.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/upload-lib.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/upload-sarif-action.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/setup-codeql.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,8 @@ export async function getEnabledVersionsWithOverlayBaseDatabases(
308308
);
309309
} catch (e) {
310310
logger.warning(
311-
`While setting up CodeQL, was unable to list overlay-base databases in the Actions cache. Details: ${e}`,
311+
"Could not list overlay-base databases in the Actions cache while choosing a default " +
312+
`CodeQL CLI version, falling back to the highest enabled version. Details: ${util.getErrorMessage(e)}`,
312313
);
313314
return [];
314315
}

0 commit comments

Comments
 (0)