Commit dbecbffb by huangfusuper

修正错误

parent 8d6be757
...@@ -50,8 +50,7 @@ myth-job: ...@@ -50,8 +50,7 @@ myth-job:
myth: myth:
plugin: plugin:
env: plugin_test env: ${myth-rpc.registry.env}
biz: byit-myth-job biz: ${myth-rpc.registry.biz}
port: 8971
register: register:
url: http://localhost:8080/myth-register url: ${myth-rpc.registry.address}
\ No newline at end of file \ No newline at end of file
...@@ -59,7 +59,7 @@ public class NettyPluginServerHandler extends SimpleChannelInboundHandler<Plugin ...@@ -59,7 +59,7 @@ public class NettyPluginServerHandler extends SimpleChannelInboundHandler<Plugin
rpcResponsePacket.setStatus(true); rpcResponsePacket.setStatus(true);
rpcResponsePacket.setRunTime(endTime-startTime); rpcResponsePacket.setRunTime(endTime-startTime);
rpcResponsePacket.setExtension(msg.getExtension()); rpcResponsePacket.setExtension(msg.getExtension());
}catch (Exception e){ }catch (Throwable e){
rpcResponsePacket.setCode("500000"); rpcResponsePacket.setCode("500000");
rpcResponsePacket.setMsg(e.getMessage()); rpcResponsePacket.setMsg(e.getMessage());
rpcResponsePacket.setStatus(false); rpcResponsePacket.setStatus(false);
......
...@@ -3,7 +3,7 @@ server: ...@@ -3,7 +3,7 @@ server:
myth: myth:
plugin: plugin:
env: plugin_test env: huangfu
biz: byit-myth-job biz: byit-myth-job
port: 8971 port: 8971
register: 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