Use getSafeErrorMessage for unhandled error message

This commit is contained in:
Michael B. Gale
2026-01-29 15:09:21 +00:00
parent d94d88d717
commit a1c70789a3
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -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,
);
}