-
Notifications
You must be signed in to change notification settings - Fork 416
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
When using SLS_DEBUG
env var, more log will be dumped
#1803
When using SLS_DEBUG
env var, more log will be dumped
#1803
Conversation
445e35d
to
df79b4c
Compare
@kennyhyun What was the errors you are working with? Depending on the specific error that is sent to
|
@vicary I think it's related to #1508 (comment) |
after reading more, I think npm/yarn packager doesn't log stdout from the SpawnError instance should I merge stdout into stderr if stderr was empty string or packagers should be updated? I am two minded probably keep this for now |
@vicary one of the errors I was dealing with was,
which resolved by downgrading python to 3.10 I could log this from stdout, I guess it was from npm, but am sure yarn was the same. |
Sorry I cannot reproduce that anymore. Can I just console.log stdout when SLS_DEBUG was specified instead? |
@j0k3r thanks for referencing to the source! @kennyhyun It's not easy to generalize a solution at the level of |
@vicary thanks for the feedback. yeah I agree, let me do that in |
eab7768
to
32a6b9f
Compare
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.
Looks great, you can squash 👍
edf1d95
to
8539948
Compare
SLS_DEBUG
en var, more log will be dumped
SLS_DEBUG
en var, more log will be dumpedSLS_DEBUG
env var, more log will be dumped
What did you implement:
Related to #1508 and probably #1653 too
How did you implement it:
How can we verify it:
Todos:
Is this ready for review?: YES
Is it a breaking change?: NO