Refactoring: Simplify retrieving error message
This commit is contained in:
parent
bbd7c801a0
commit
dd7307d603
54 changed files with 106 additions and 89 deletions
|
|
@ -169,9 +169,7 @@ async function startProxy(
|
|||
core.setOutput("proxy_port", port.toString());
|
||||
core.setOutput("proxy_ca_certificate", config.ca.cert);
|
||||
} catch (error) {
|
||||
core.setFailed(
|
||||
`start-proxy action failed: ${util.wrapError(error).message}`,
|
||||
);
|
||||
core.setFailed(`start-proxy action failed: ${util.getErrorMessage(error)}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue