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

Use console.warn to log warnings instead of console.error #3029

Closed
baibhavx opened this issue Jun 17, 2018 · 1 comment
Closed

Use console.warn to log warnings instead of console.error #3029

baibhavx opened this issue Jun 17, 2018 · 1 comment

Comments

@baibhavx
Copy link

baibhavx commented Jun 17, 2018

Do you want to request a feature or report a bug?

  • Feature(Improvement)

What is the current behavior?

  • We are using console.error instead of console.warn to log warnings

What is the expected behavior?

@timdorr
Copy link
Member

timdorr commented Jun 17, 2018

This is inherited from fbjs's warning, which was previously used. It's explained here: facebook/fbjs#94 (comment)

@timdorr timdorr closed this as completed Jun 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants