Skip to content

Commit

Permalink
fix: silently skip non-existent addons
Browse files Browse the repository at this point in the history
  • Loading branch information
martastain committed Jan 9, 2025
1 parent a2fa701 commit 8a36c72
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ayon_server/addons/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,10 @@ async def get_addons_by_variant(
for addon_name, addon_version in active_versions.items():
addon: Optional[BaseServerAddon] = None
if addon_version:
addon = self[addon_name][addon_version]
try:
addon = self[addon_name][addon_version]
except KeyError:
continue
output[addon_name] = addon
return output

Expand Down

0 comments on commit 8a36c72

Please sign in to comment.