Improve debug error message for secret:bulk command failure

This commit is contained in:
Adishwar Rishi 2024-01-03 13:19:58 +11:00
parent 7e684fbad9
commit ebaf896045
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(`Secret upload error stack: ${err.stack}`);
debug(`wrangler secret:bulk error stack: ${err.stack}`);
}
throw new Error(`Failed to upload secrets.`);
} finally {