Skip to content

Commit

Permalink
Merge pull request #17 from bcgsc/bugfix/SDEV-4431_failed_message_err
Browse files Browse the repository at this point in the history
SDEV-4431 - bugfix - error message tries to use non-existant key
  • Loading branch information
dustinbleile authored Jul 22, 2024
2 parents 763f1fd + 36effcd commit 83c2cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pori_python/ipr/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def check_status(interval: int = 5, num_attempts: int = 5):

if check_result == "failed":
raise Exception(
f'async report upload failed with reason: {current_status["failedReason"]}'
f"async report upload failed with reason: {current_status.get('jobStatus', {}).get('failedReason', 'Unknown')}"
)

if check_result not in [
Expand Down

0 comments on commit 83c2cb4

Please sign in to comment.