Skip to content
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

[now-cli] Render "stderr" as red in now logs #3026

Merged
merged 1 commit into from Sep 17, 2019

Conversation

TooTallNate
Copy link
Member

@TooTallNate TooTallNate commented Sep 17, 2019

Screen Shot 2019-09-16 at 10 42 22 PM

TODO: Add integration test

@@ -283,16 +283,19 @@ function printLogShort(log) {
` ${obj.status} ${obj.bodyBytesSent}`;
} else if (log.type === 'event') {
data = `EVENT ${log.event} ${JSON.stringify(log.payload)}`;
} else if (obj) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this obj thing is deprecated.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ya I think so too. Maybe relevant for Now 1.0 deployments?

@kodiakhq kodiakhq bot merged commit e3c61ac into canary Sep 17, 2019
@kodiakhq kodiakhq bot deleted the update/now-cli-logs-red-stderr branch September 17, 2019 06:24
styfle pushed a commit that referenced this pull request Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants