hyperstack-org / hyperstack-org/hyperstack

hyper-trace issues

Offen
#404 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
538
Forks
41
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.