From fab80445d1462fb9f2ee3af3b898cf7bcc19d360 Mon Sep 17 00:00:00 2001 From: Dustin Decker Date: Mon, 24 Jul 2023 07:34:43 -0700 Subject: [PATCH] continue scanning on detector / decoder panic (#863) --- pkg/engine/engine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/engine/engine.go b/pkg/engine/engine.go index 627787c22d29..7c46a27e29ef 100644 --- a/pkg/engine/engine.go +++ b/pkg/engine/engine.go @@ -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) }()