GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Use `getErrorMessage` in log too · github/codeql-action@ae5de9a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • lib
    • analyze-action.js
  • src
    • database-upload.test.ts
    • database-upload.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎lib/analyze-action.js‎

Copy file name to clipboardExpand all lines: lib/analyze-action.js
+3-1Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎src/database-upload.test.ts‎

Copy file name to clipboardExpand all lines: src/database-upload.test.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ test("Don't crash if uploading a database fails", async (t) => {
231231
(v) =>
232232
v.type === "warning" &&
233233
v.message ===
234-
"Failed to upload database for javascript: Error: some error message",
234+
"Failed to upload database for javascript: some error message",
235235
) !== undefined,
236236
);
237237
});
Collapse file

‎src/database-upload.ts‎

Copy file name to clipboardExpand all lines: src/database-upload.ts
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,9 @@ export async function cleanupAndUploadDatabases(
138138
}
139139
} catch (e) {
140140
// Log a warning but don't fail the workflow
141-
logger.warning(`Failed to upload database for ${language}: ${e}`);
141+
logger.warning(
142+
`Failed to upload database for ${language}: ${util.getErrorMessage(e)}`,
143+
);
142144
reports.push({
143145
language,
144146
error: util.getErrorMessage(e),

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.