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
As exemplified by impl of scala.util.Try, our try catches should not be catching general Exception class. This includes InterruptedException which it's unlikely we want to suppress.
We should replace instances of catch case e: Exception => with
catchcase scala.util.control.NonFatal(e) =>
or a more specific exception if available.
The text was updated successfully, but these errors were encountered:
As exemplified by impl of scala.util.Try, our try catches should not be catching general Exception class. This includes
InterruptedException
which it's unlikely we want to suppress.We should replace instances of
catch case e: Exception =>
withor a more specific exception if available.
The text was updated successfully, but these errors were encountered: