Skip to content

Commit

Permalink
Quicksight review: added else in try except clause
Browse files Browse the repository at this point in the history
  • Loading branch information
dlpzx committed Aug 29, 2022
1 parent 93e8d0e commit a0a1658
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/dataall/aws/handlers/parameter_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,5 @@ def update_parameter(AwsAccountId, region, parameter_name, parameter_value):
).put_parameter(Name=parameter_name, Value=parameter_value, Overwrite=True)['Version']
except ClientError as e:
raise Exception(e)
return str(response)
else:
return str(response)

0 comments on commit a0a1658

Please sign in to comment.