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

Redo error-logging #234

Open
malmen237 opened this issue Dec 5, 2024 · 0 comments
Open

Redo error-logging #234

malmen237 opened this issue Dec 5, 2024 · 0 comments

Comments

@malmen237
Copy link
Contributor

malmen237 commented Dec 5, 2024

Breaking this issue out of the PR for multiple-calls
For example:

const interval = window.setInterval(() => {
      API.fetchProductionLine(productionId, lineId)
        .then((l) => setLine(l))
        .catch(() => {
          console.error();

Comments:

          - Should we build a Logger to avoid logging things in prod?

Originally posted by @LucasMaupin in #225 (comment)

          - could potentially just turn on removal of console logs in the minification step, 
          but a good logger implementation would be beneficial in the long run

Originally posted by @martinstark in #225 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant