Skip to content

Commit

Permalink
Refines exceptions to restutils.exception
Browse files Browse the repository at this point in the history
  • Loading branch information
pritchardn committed Feb 7, 2022
1 parent 064eaf7 commit e1f2a5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daliuge-translator/dlg/dropmake/web/lg_web.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def gen_pg_helm():
# Send pgt_data to helm_start
try:
start_helm(pgtp, num_partitions)
except Exception as ex:
except restutils.RestClientException as ex:
response.status = 500
print(traceback.format_exc())
return "Fail to deploy physical graph: {0}".format(ex)
Expand Down

0 comments on commit e1f2a5c

Please sign in to comment.