hyperstack-org / hyperstack-org/hyperstack

hyper-trace issues

未关闭
#404 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
538
派生
41
PR 合并指标
30 天内没有已合并 PR

描述

1. Need to add exception exclusions to Operations... i.e. add this method:

```ruby
def hypertrace_class_exclusions
[ list of expected internal exceptions ]
end
```
define at both class and instance level.

2. Operations checks the arity of the method to decide whether to forward the parameters, but hypertrace accepts *args (arity -1) this confuses operations and ends up passing a value along. Have to have some way to tell hyperoperation what the real arity was.

3. line 202 needs a guard so that if parameters is not available we leave well enough alone. (make sure return unless specs works when specs is javascript undefined)

```ruby
def map_with_specs(method, actual, show_blank_rest)
specs = method.parameters
return unless specs
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。