Skip to content

Commit

Permalink
Catch no such system value error exception
Browse files Browse the repository at this point in the history
  • Loading branch information
gpoppino committed Apr 19, 2024
1 parent 29e5e8d commit 5e07918
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sumacli/migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ def schedule(self):
self.__logger.error("Fault code: %d" % err.faultCode)
self.__logger.error("Fault string: %s" % err.faultString)
return None
except ValueError as err:
self.__logger.error(err)
return None
return action_ids


Expand Down
3 changes: 3 additions & 0 deletions src/sumacli/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ def schedule(self):
self.__logger.error("Fault code: %d" % err.faultCode)
self.__logger.error("Fault string: %s" % err.faultString)
return None
except ValueError as err:
self.__logger.error(err)
return None
return action_ids


Expand Down
3 changes: 3 additions & 0 deletions src/sumacli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ def schedule(self):
self.__logger.error("Fault code: %d" % err.faultCode)
self.__logger.error("Fault string: %s" % err.faultString)
return None
except ValueError as err:
self.__logger.error(err)
return None
return action_ids


Expand Down

0 comments on commit 5e07918

Please sign in to comment.