Skip to content

Commit

Permalink
Raise error instead of marking export as failure
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Apr 18, 2024
1 parent e328548 commit 2878483
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1897,6 +1897,7 @@ def upload_dataset(self, dump_config_to_s3=False):
dataset_info["hdx_upload"] = "SUCCESS"
except Exception as ex:
logging.error(ex)
raise ex
dataset_info["hdx_upload"] = "FAILED"

dataset_info["name"] = self.dataset["name"]
Expand Down

0 comments on commit 2878483

Please sign in to comment.