From 7fdad46cbbfe8647e41a1f2285ea55ddff5308f9 Mon Sep 17 00:00:00 2001 From: TeoV Date: Fri, 24 May 2019 12:19:01 +0300 Subject: [PATCH] Reset the error in case that the account isn't found --- engine/action_plan.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/action_plan.go b/engine/action_plan.go index 2e7b6e4f9..3f03d7513 100644 --- a/engine/action_plan.go +++ b/engine/action_plan.go @@ -355,6 +355,8 @@ func (at *ActionTiming) Execute(successActions, failedActions chan *Action) (err return 0, nil }, config.CgrConfig().GeneralCfg().LockingTimeout, accID) } + //reset the error in case that the account is not found + err = nil if len(at.accountIDs) == 0 { // action timing executing without accounts for _, a := range aac { if expDate, parseErr := utils.ParseTimeDetectLayout(a.ExpirationString,