From 24c44b7d3bd584b276fb0f8024957bd4756743e6 Mon Sep 17 00:00:00 2001 From: alxtkr77 <3098237+alxtkr77@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:34:55 +0300 Subject: [PATCH] [NUC-251] - treat nil error as fatal (#154) --- pkg/common/helper.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/common/helper.go b/pkg/common/helper.go index 86bb110..d96fee7 100644 --- a/pkg/common/helper.go +++ b/pkg/common/helper.go @@ -184,7 +184,6 @@ func EngineErrorIsNonFatal(err error) bool { return true } } - return false } - return true + return false }