From 2173143b32a73c8f147ec9f8e1083c39b7302d71 Mon Sep 17 00:00:00 2001 From: Iuga Mihai <50499646+miiu96@users.noreply.github.com> Date: Wed, 30 Sep 2020 15:57:43 +0300 Subject: [PATCH] Update errors.go fix wrapErr --- services/errors.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/errors.go b/services/errors.go index 85542be..c82dddb 100644 --- a/services/errors.go +++ b/services/errors.go @@ -182,6 +182,8 @@ func wrapErr(rErr *types.Error, err error) *types.Error { newErr := &types.Error{ Code: rErr.Code, Message: rErr.Message, + Retriable: rErr.Retriable, + } if err != nil { newErr.Details = map[string]interface{}{