couple changes for aws errors (#1532)

This commit is contained in:
Brian Hendriks
2021-04-08 15:42:06 -07:00
committed by GitHub
parent 1675d27817
commit e9011f6af9
2 changed files with 2 additions and 2 deletions

View File

@@ -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) {

View File

@@ -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