diff --git a/save.go b/save.go index e4b2b4c..fde35dc 100644 --- a/save.go +++ b/save.go @@ -236,7 +236,7 @@ func saveStruct( if err := SaveRow(ctx, db, row); err != nil { span.RecordError(err) span.SetStatus(codes.Error, err.Error()) - return err + return errors.WithMessagef(err, "Can not execute saveStruct. Got error from SaveRow. ownerId: %d.", ownerId) } return nil