mirror of
https://github.com/github/codeql-action.git
synced 2026-04-29 02:18:47 +00:00
Use getSafeErrorMessage for unhandled error message
This commit is contained in:
@@ -12,6 +12,7 @@ import {
|
||||
credentialToStr,
|
||||
getCredentials,
|
||||
getProxyBinaryPath,
|
||||
getSafeErrorMessage,
|
||||
parseLanguage,
|
||||
sendFailedStatusReport,
|
||||
sendSuccessStatusReport,
|
||||
@@ -159,7 +160,7 @@ async function runWrapper() {
|
||||
await sendUnhandledErrorStatusReport(
|
||||
ActionName.StartProxy,
|
||||
startedAt,
|
||||
new Error("Error from start-proxy Action omitted"),
|
||||
getSafeErrorMessage(util.wrapError(error)),
|
||||
logger,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user