mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2024-11-23 10:33:24 +01:00
Avoid double "Error: Error:" logging
This commit is contained in:
parent
f74c325efc
commit
5517edbb28
1 changed files with 2 additions and 2 deletions
|
@ -88,8 +88,8 @@ async function main() {
|
|||
await wranglerCommands();
|
||||
await execCommands(getMultilineInput("postCommands"), "post");
|
||||
info("🏁 Wrangler Action completed", true);
|
||||
} catch (err) {
|
||||
error(`${err}`);
|
||||
} catch (err: unknown) {
|
||||
err instanceof Error && error(err.message);
|
||||
setFailed("🚨 Action failed");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue