自定义页面支持用户操作

This commit is contained in:
刘祥超
2022-03-31 15:30:04 +08:00
parent 1c1e82ee38
commit cc2782584e
3 changed files with 49 additions and 12 deletions

View File

@@ -622,5 +622,9 @@ func (this *APINode) unaryInterceptor(ctx context.Context, req interface{}, info
return
}
return handler(ctx, req)
result, err := handler(ctx, req)
if err != nil {
err = errors.New("'" + info.FullMethod + "()' says: " + err.Error())
}
return result, err
}