mirror of
https://github.com/github/codeql-action.git
synced 2026-04-29 02:18:47 +00:00
Use getErrorMessage in log too
This commit is contained in:
Generated
+3
-1
@@ -91746,7 +91746,9 @@ async function cleanupAndUploadDatabases(repositoryNwo, codeql, config, apiDetai
|
||||
bundledDbReadStream.close();
|
||||
}
|
||||
} catch (e) {
|
||||
logger.warning(`Failed to upload database for ${language}: ${e}`);
|
||||
logger.warning(
|
||||
`Failed to upload database for ${language}: ${getErrorMessage(e)}`
|
||||
);
|
||||
reports.push({
|
||||
language,
|
||||
error: getErrorMessage(e)
|
||||
|
||||
Reference in New Issue
Block a user