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
I would like to suggest a rule to prevent calling the promise catch method without any argument. It works "differently" than the catch block and it might lead to bugs when one expects the rejection to be ignored.
I would like to suggest a rule to prevent calling the promise
catch
method without any argument. It works "differently" than thecatch
block and it might lead to bugs when one expects the rejection to be ignored.Demonstration
The text was updated successfully, but these errors were encountered: