Skip to content

Commit

Permalink
Remove extra debug description for err.stack
Browse files Browse the repository at this point in the history
  • Loading branch information
AdiRishi committed Jan 5, 2024
1 parent bbedd8e commit b927195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ async function uploadSecrets() {
} catch (err: unknown) {
if (err instanceof Error) {
error(err.message);
debug(`wrangler secret:bulk error stack: ${err.stack}`);
err.stack && debug(err.stack);
}
throw new Error(`Failed to upload secrets.`);
} finally {
Expand Down

0 comments on commit b927195

Please sign in to comment.