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