Skip to content

Commit

Permalink
SDEV-4431 - bugfix - error message tries to use non-existant key
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinbleile committed Jul 19, 2024
1 parent b9a1eb5 commit 03ef81c
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 03ef81c

Please sign in to comment.