Update errors.go

This commit is contained in:
Iuga Mihai 2020-09-30 16:00:51 +03:00 committed by GitHub
parent 2173143b32
commit 07cb69fc23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -183,7 +183,6 @@ func wrapErr(rErr *types.Error, err error) *types.Error {
Code: rErr.Code, Code: rErr.Code,
Message: rErr.Message, Message: rErr.Message,
Retriable: rErr.Retriable, Retriable: rErr.Retriable,
} }
if err != nil { if err != nil {
newErr.Details = map[string]interface{}{ newErr.Details = map[string]interface{}{