Skip to content

Commit

Permalink
continue scanning on detector / decoder panic (#863)
Browse files Browse the repository at this point in the history
  • Loading branch information
dustin-decker authored Jul 24, 2023
1 parent 9e0a2e9 commit fab8044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/engine/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func Start(ctx context.Context, options ...EngineOption) *Engine {
for i := 0; i < e.concurrency; i++ {
e.workersWg.Add(1)
go func() {
defer common.RecoverWithExit(ctx)
defer common.Recover(ctx)
defer e.workersWg.Done()
e.detectorWorker(ctx)
}()
Expand Down

0 comments on commit fab8044

Please sign in to comment.