Skip to content

Commit

Permalink
Raise error instead of printing in file_ingestion function xlsx_to_tsv
Browse files Browse the repository at this point in the history
  • Loading branch information
tim.reichard committed Mar 13, 2023
1 parent 11cf10c commit 5f9b52f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ History
=======


v0.17.36 (2023-03-13)

* Raise error instead of printing in file_ingestion function xlsx_to_tsv.


v0.17.35 (2023-02-23)

* Create function check_phone_number in efi parsing.
Expand Down
3 changes: 1 addition & 2 deletions aioradio/file_ingestion.py
Original file line number Diff line number Diff line change
Expand Up @@ -1665,8 +1665,7 @@ async def xlsx_to_tsv(

await tsv_to_s3(records, delimiter, s3_destination_bucket, s3_destination_key)
except Exception as err:
print(err)
return str(err)
raise ValueError('xlsx_to_tsv function failed') from err

return None

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
long_description = fileobj.read()

setup(name='aioradio',
version='0.17.35',
version='0.17.36',
description='Generic asynchronous i/o python utilities for AWS services (SQS, S3, DynamoDB, Secrets Manager), Redis, MSSQL (pyodbc), JIRA and more',
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 5f9b52f

Please sign in to comment.