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 error logging #193

Merged
merged 3 commits into from
Sep 21, 2023
Merged

Fix error logging #193

merged 3 commits into from
Sep 21, 2023

Conversation

gbirke
Copy link
Member

@gbirke gbirke commented Sep 19, 2023

With the upgrade to Webpack 5, we accidentally broke the logger factory
because the process.env.VUE_APP_LOGGER was no longer defined. We now
define it in the webpack environment configuration files.

Additionally, we only override the error logger in production, to send
errors to our error logging tool.

With the upgrade to Webpack 5, we accidentally broke the logger factory
because the `process.env.VUE_APP_LOGGER` was no longer defined. We now
define it in the webpack environment configuration files.

Additionally, we only override the error logger in production, to send
errors to our error logging tool.
Copy link
Member

@Abban Abban left a comment

Choose a reason for hiding this comment

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

We won't be using the console logger anymore now that we only set a logger in the production environment so I guess we can get rid of it altogether.

We currently don't use it and can save a few bytes by removing it.
@gbirke gbirke requested a review from Abban September 21, 2023 11:19
@moiikana moiikana merged commit e64f4e5 into main Sep 21, 2023
@moiikana moiikana deleted the fix-error-logging branch September 21, 2023 15:46
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

Successfully merging this pull request may close these issues.

3 participants