Skip to content

Commit

Permalink
rm gratuitous catch cases
Browse files Browse the repository at this point in the history
  • Loading branch information
hughsimpson committed Nov 9, 2023
1 parent 71b2b74 commit 5d3de79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ object MessageClassAdvice {
} catch {
// NoClassDefFound is thrown in early versions of akka 2.6
// so we can safely fallback to the original method
case _: NoClassDefFoundError | _: ClassCastException | _: NullPointerException =>
case _: NoClassDefFoundError =>
ActorCellInfo.simpleClassName(e.message.getClass)
case NonFatal(ex) =>
logger.info(s"Expected NoClassDefFoundError, got: ${ex}")
Expand Down

0 comments on commit 5d3de79

Please sign in to comment.