Skip to content

Commit 3745f2a

Browse files
committed
Update ScalaNumberDeserializersModule.scala
1 parent 2729996 commit 3745f2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/com/fasterxml/jackson/module/scala/deser/ScalaNumberDeserializersModule.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ private abstract class BigNumberDeserializer[T >: Null : ClassTag](creator: (Str
2727
creator(text)
2828
}
2929
catch {
30-
case e: IllegalArgumentException => throw ctxt.weirdStringException(text, _valueClass, "not a valid representation")
30+
case _: IllegalArgumentException => throw ctxt.weirdStringException(text, _valueClass, "not a valid representation")
3131
}
3232
case START_ARRAY if ctxt.isEnabled(UNWRAP_SINGLE_VALUE_ARRAYS) =>
3333
jp.nextToken()

0 commit comments

Comments
 (0)