Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
guard against common exceptions when manipulating collectionswhich ar…
Browse files Browse the repository at this point in the history
…e not fully typed (#750)
  • Loading branch information
sbasan authored Jul 4, 2024
1 parent 8c9e902 commit 684a3a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ def convert(self, name: str, description: str, template_values: dict) -> Convert
try:
parcel = self.create_parcel(name, description, template_values)
self._convert_result.output = parcel
except CatalystwanConverterCantConvertException as e:
except (CatalystwanConverterCantConvertException, AttributeError, LookupError, TypeError, ValueError) as e:
self._convert_result.update_status("failed", str(e))
return self._convert_result
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "catalystwan"
version = "0.33.8dev1"
version = "0.33.8dev2"
description = "Cisco Catalyst WAN SDK for Python"
authors = ["kagorski <kagorski@cisco.com>"]
readme = "README.md"
Expand Down

0 comments on commit 684a3a3

Please sign in to comment.