Skip to content

Commit 5d20cf6

Browse files
author
Robert Armstrong
committed
Return dataset and error from s3 index script
1 parent b89b2f3 commit 5d20cf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/index_from_s3_bucket.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def add_dataset(doc, uri, index, sources_policy):
214214
err = e
215215
logging.error("Unhandled exception %s", e)
216216

217-
return err
217+
return dataset, err
218218

219219
def worker(config, bucket_name, prefix, suffix, func, unsafe, sources_policy, queue):
220220
dc=datacube.Datacube(config=config)

0 commit comments

Comments
 (0)