Skip to content

Commit

Permalink
raise error instad of silently failing when bucket does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
renjith-digicat committed Oct 16, 2024
1 parent b9b361b commit 3c151c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/upload_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def upload(s3_client, file_name, bucket_name):
)
except Exception as e:
print(f"Error uploading file: {e}")
raise e


if __name__ == "__main__":
Expand Down

0 comments on commit 3c151c4

Please sign in to comment.