mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2024-11-22 01:53:24 +01:00
Improve debug error message for secret:bulk command failure
This commit is contained in:
parent
7e684fbad9
commit
ebaf896045
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ async function uploadSecrets() {
|
||||||
} catch (err: unknown) {
|
} catch (err: unknown) {
|
||||||
if (err instanceof Error) {
|
if (err instanceof Error) {
|
||||||
error(err.message);
|
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.`);
|
throw new Error(`Failed to upload secrets.`);
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Reference in a new issue