Skip to content

Commit

Permalink
Improve debug error message for secret:bulk command failure
Browse files Browse the repository at this point in the history
  • Loading branch information
AdiRishi committed Jan 3, 2024
1 parent 7e684fb commit ebaf896
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(`Secret upload error stack: ${err.stack}`);
debug(`wrangler secret:bulk error stack: ${err.stack}`);
}
throw new Error(`Failed to upload secrets.`);
} finally {
Expand Down

0 comments on commit ebaf896

Please sign in to comment.