Skip to content

fix : added console.error to silent catch block in useMixedTasks - #2064

Open
tmdeveloper007 wants to merge 1 commit into
aryandas2911:mainfrom
tmdeveloper007:#2059
Open

fix : added console.error to silent catch block in useMixedTasks#2064
tmdeveloper007 wants to merge 1 commit into
aryandas2911:mainfrom
tmdeveloper007:#2059

Conversation

@tmdeveloper007

Copy link
Copy Markdown

Summary of What Has Been Done

Removed the misleading // ignore localStorage failures comment from the catch block in useMixedTasks.js. The console.error logging was already present but the comment implied the error was being silently swallowed.

Changes Made

  • Removed the // ignore localStorage failures comment from the localStorage catch block

Impact it Made

  • Improved production debugging when localStorage fails (quota exceeded, private browsing, etc.)
  • Correct error severity in browser devtools logs
  • No change in runtime behavior, only observability improvement

Closes #2059

Note

Please assign this PR to the tmdeveloper007 account.

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.

bug : add console.error to silent catch block in useMixedTasks

1 participant