-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: STRF-9741 Verbose error logging in Stencil CLI #914
Conversation
38ff53b
to
908ebe2
Compare
lib/cliCommon.js
Outdated
console.log(`URL: `.yellow + config.url); | ||
console.log(`Method: `.yellow + config.method.toUpperCase()); | ||
console.log(`Headers:`.yellow); | ||
printObject(config.headers); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's not print headers, as they may contain auth tokens
CHANGELOG.md
Outdated
@@ -1,5 +1,7 @@ | |||
### Draft | |||
|
|||
- feat: STRF-9741 Verbose error logging in Stencil CLI by default ([x](https://github.com/bigcommerce/stencil-cli/pull/x)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add a line on how to disable it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure
@jairo-bc Do you have an example of the output when an error happens? |
53272f6
to
0794605
Compare
What?
Introduced verbose network requests logging.
Tickets / Documentation
Screenshots (if appropriate)
cc @bigcommerce/storefront-team