Commit dbecbffb by huangfusuper

修正错误

parent 8d6be757
......@@ -50,8 +50,7 @@ myth-job:
myth:
plugin:
env: plugin_test
biz: byit-myth-job
port: 8971
env: ${myth-rpc.registry.env}
biz: ${myth-rpc.registry.biz}
register:
url: http://localhost:8080/myth-register
\ No newline at end of file
url: ${myth-rpc.registry.address}
\ No newline at end of file
......@@ -59,7 +59,7 @@ public class NettyPluginServerHandler extends SimpleChannelInboundHandler<Plugin
rpcResponsePacket.setStatus(true);
rpcResponsePacket.setRunTime(endTime-startTime);
rpcResponsePacket.setExtension(msg.getExtension());
}catch (Exception e){
}catch (Throwable e){
rpcResponsePacket.setCode("500000");
rpcResponsePacket.setMsg(e.getMessage());
rpcResponsePacket.setStatus(false);
......
......@@ -3,7 +3,7 @@ server:
myth:
plugin:
env: plugin_test
env: huangfu
biz: byit-myth-job
port: 8971
register:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment