mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-11 18:49:14 -06:00
couple changes for aws errors (#1532)
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user