You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Through the code base, there are numerous console.log statements within the try/catch block. See the example here.
We would like to handle error catch more gracefully than the console. logging the error statement, and avoid using console.log in production code. We can also remove the try/catch where they are redundant and keep them where useful.
Expected behavior
Clean the code to handle errors gracefully.
The text was updated successfully, but these errors were encountered:
Extra context: avoiding console.log in our production code is part transitioning our codebase to use the airbnb style guide, see CONTRIBUTING - linting.
Describe the bug
Through the code base, there are numerous
console.log
statements within thetry/catch
block. See the example here.We would like to handle error catch more gracefully than the console. logging the error statement, and avoid using console.log in production code. We can also remove the try/catch where they are redundant and keep them where useful.
Expected behavior
Clean the code to handle errors gracefully.
The text was updated successfully, but these errors were encountered: