From e9011f6af9f74f840652df99039fb96b296aeb2a Mon Sep 17 00:00:00 2001 From: Brian Hendriks Date: Thu, 8 Apr 2021 15:42:06 -0700 Subject: [PATCH] couple changes for aws errors (#1532) --- go/libraries/doltcore/dbfactory/aws.go | 2 +- go/store/nbs/dynamo_manifest.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go/libraries/doltcore/dbfactory/aws.go b/go/libraries/doltcore/dbfactory/aws.go index eb20441f53..ecd0fc1f15 100644 --- a/go/libraries/doltcore/dbfactory/aws.go +++ b/go/libraries/doltcore/dbfactory/aws.go @@ -115,7 +115,7 @@ func (fact AWSFactory) CreateDB(ctx context.Context, nbf *types.NomsBinFormat, u db = datas.NewDatabase(cs) - return db, err + return db, nil } func (fact AWSFactory) newChunkStore(ctx context.Context, nbf *types.NomsBinFormat, urlObj *url.URL, params map[string]string) (chunks.ChunkStore, error) { diff --git a/go/store/nbs/dynamo_manifest.go b/go/store/nbs/dynamo_manifest.go index a2a5a4be56..6f12c62830 100644 --- a/go/store/nbs/dynamo_manifest.go +++ b/go/store/nbs/dynamo_manifest.go @@ -94,7 +94,7 @@ func (dm dynamoManifest) ParseIfExists(ctx context.Context, stats *Stats, readHo }) if err != nil { - return false, manifestContents{}, err + return false, manifestContents{}, fmt.Errorf("failed to get dynamo table: '%s' - %w", dm.table, err) } // !exists(dbAttr) => unitialized store