From f13d08d37a660ca7e246e7ce919aa8374abc1c8b Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 2 Jun 2020 22:57:47 +0200 Subject: [PATCH] Fix additional parameter on exception (#1774) --- supervisor/api/addons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervisor/api/addons.py b/supervisor/api/addons.py index 4ac5e1902..e48b60b74 100644 --- a/supervisor/api/addons.py +++ b/supervisor/api/addons.py @@ -137,7 +137,7 @@ class APIAddons(CoreSysAttributes): addon = self.sys_addons.get(addon_slug) if not addon: - raise APIError(f"Addon {addon_slug} does not exist", addon_slug) + raise APIError(f"Addon {addon_slug} does not exist") if check_installed and not addon.is_installed: raise APIError(f"Addon {addon.slug} is not installed")