func (w *Worker) Execute(ctx context.Context, workItem interface{}) {
	defer func() {
		if !w.SkipRecoverPanics {
			if r := recover(); r != nil {
				w.HandleError(ex.New(r))
			}
		}
		if w.Finalizer != nil {
			w.HandleError(w.Finalizer(ctx, w))
		}
	}()
	if w.Action != nil {
		w.HandleError(w.Action(ctx, workItem))
	}
}
// Execute invokes the action and recovers panics.
Execute invokes the action and recovers panics.
// Execute invokes the action and recovers panics .
func (w *Worker) Execute(ctx context.Context, workItem interface{}) {
	defer func() {
		if !w.SkipRecoverPanics {
			if r := recover(); r != nil {
				w.HandleError(ex.New(r))
			}
		}
		if w.Finalizer != nil {
			w.HandleError(w.Finalizer(ctx, w))
		}
	}()
	if w.Action != nil {
		w.HandleError(w.Action(ctx, workItem))
	}
}
func ( w * Worker ) Execute ( ctx context . Context , workItem interface { } ) { defer func ( ) { if ! w . SkipRecoverPanics { if r := recover ( ) ; r != nil { w . HandleError ( ex . New ( r ) ) } } if w . Finalizer != nil { w . HandleError ( w . Finalizer ( ctx , w ) ) } } ( ) if w . Action != nil { w . HandleError ( w . Action ( ctx , workItem ) ) } }
Execute invokes the action and recovers panics.
Execute invokes the action and recovers panics .