diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-06 15:50:50 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-06 15:50:50 +0200 |
| commit | 58825fb53b900aedd3b161ff0e3b769a2cf188ab (patch) | |
| tree | 2b805fabfba124cb794006f1b4b16ed05f5e7da0 /internal/ior.go | |
| parent | 99b02bf8c389a793df5d5986db05eed7e459f7b1 (diff) | |
fix: return errors for invalid event filters (task 382)
Diffstat (limited to 'internal/ior.go')
| -rw-r--r-- | internal/ior.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/ior.go b/internal/ior.go index 7c1368a..b5f9091 100644 --- a/internal/ior.go +++ b/internal/ior.go @@ -432,7 +432,10 @@ func runTraceWithContext(parentCtx context.Context, started chan<- struct{}, con signalTraceStarted(started) - el := newEventLoop(newEventLoopConfig(cfg)) + el, err := newEventLoop(newEventLoopConfig(cfg)) + if err != nil { + return err + } if configure != nil { configure(el) } |
