Skip to content

fix: remove unconditional debug console.log in raster-timeseries#1979

Open
lunasilvestre wants to merge 2 commits intoNASA-IMPACT:mainfrom
lunasilvestre:fix/remove-debug-console-log
Open

fix: remove unconditional debug console.log in raster-timeseries#1979
lunasilvestre wants to merge 2 commits intoNASA-IMPACT:mainfrom
lunasilvestre:fix/remove-debug-console-log

Conversation

@lunasilvestre
Copy link
Copy Markdown

Related Ticket: N/A

Description of Changes

Remove a console.log(error) left in production code with the comment "Temporarily turning on log for debugging". The conditional debug logging behind the LOG flag is preserved. Also switch to catch-without-binding since the error variable is no longer referenced.

Notes & Questions About Changes

  • The guarded if (LOG) console.log(...) statements are intentionally kept — only the unconditional one is removed

Validation / Testing

  • Full test suite passes (161/161)
  • Lefthook pre-commit hooks pass (eslint, stylelint, ts-check)
  • Zero new lint warnings introduced (removed 1 pre-existing no-unused-vars warning)

Remove a console.log(error) that was left in production code with the
comment "Temporarily turning on log for debugging". The conditional
debug logging behind the LOG flag is preserved.
The error variable became unused after removing the debug console.log.
Use catch-without-binding since the error is not referenced.
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 13, 2026

👷 Deploy request for veda-ui pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit e48b09b

@lunasilvestre lunasilvestre marked this pull request as ready for review May 2, 2026 11:35
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.

1 participant