修正sdk好友和频道接口错误

This commit is contained in:
imhao183
2019-12-24 11:43:47 +08:00
parent 6c5354d17b
commit c7579877a1
6 changed files with 81 additions and 5 deletions
@@ -51,6 +51,7 @@ abstract public class ActionHandler extends SimpleChannelInboundHandler<FullHttp
this.doAction(ctx, request, response);
}
} catch (Exception e) {
e.printStackTrace();
Action errorAction = ServerSetting.getErrorAction(ServerSetting.MAPPING_ERROR);
request.putParam(UnknownErrorAction.ERROR_PARAM_NAME, e);
response.setContent(e.toString());