Remove extra debug description for err.stack

This commit is contained in:
Adishwar Rishi 2024-01-05 18:08:54 +11:00
parent bbedd8e54f
commit b92719544e
No known key found for this signature in database

View file

@ -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 {