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

Fix deprecation warning for Ember.Logger usage #692

Merged
merged 1 commit into from May 3, 2019

Conversation

rileyhilliard
Copy link

This is a fix for issue #691.

When an error is thrown in fastboot (serverside), the fastboot error-handler.js uses Ember.Logger.error() to log the error to the terminal console. There is a deprecation warning for Ember.Logger that asks for console to be used instead:

DEPRECATION: Use of Ember.Logger is deprecated. Please use 'console' for logging.

Fix:
This PR replaces Ember.Logger.error with console.error

@locks locks self-assigned this May 3, 2019
@locks locks merged commit 9a8856b into ember-fastboot:master May 3, 2019
@rileyhilliard rileyhilliard deleted the fix-logger branch May 3, 2019 19:03
@rwjblue rwjblue added the bug label May 7, 2019
@rwjblue rwjblue changed the title Fix ember deprecation warning for Ember.Logger Fix deprecation warning for Ember.Logger usage May 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants