We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f231fb commit a9058bfCopy full SHA for a9058bf
wechaty-puppet-padplus/src/main/scala/wechaty/padplus/support/GrpcSupport.scala
@@ -198,13 +198,7 @@ trait GrpcSupport {
198
case t if t =:= typeOf[JsonNode] =>
199
Puppet.objectMapper.readTree(streamResponse.getData).asInstanceOf[T]
200
case _ =>
201
- try {
202
- Puppet.objectMapper.readValue(streamResponse.getData, classTag.runtimeClass).asInstanceOf[T]
203
- } catch {
204
- case e: Throwable =>
205
- logger.error(e.getMessage, e)
206
- throw e
207
- }
+ Puppet.objectMapper.readValue(streamResponse.getData, classTag.runtimeClass).asInstanceOf[T]
208
}
209
210
0 commit comments