We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67d7fd3 commit 683cd15Copy full SHA for 683cd15
wechaty-puppet-hostie/src/main/kotlin/io/github/wechaty/grpc/GrpcPuppet.kt
@@ -136,7 +136,8 @@ class GrpcPuppet(puppetOptions: PuppetOptions) : Puppet(puppetOptions) {
136
}
137
138
if (StringUtils.isEmpty(endPoint) || StringUtils.equals(endPoint, "0.0.0.0")) {
139
- throw Exception()
+ log.error("cannot get ip by token, check token")
140
+ throw Exception("cannot get ip by token, check token")
141
142
val newFixedThreadPool = newFixedThreadPool(16)
143
channel = ManagedChannelBuilder.forAddress(endPoint, GRPC_PROT).usePlaintext().executor(newFixedThreadPool).build()
0 commit comments