1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 04:50:05 +00:00

Fix exception import locations (#63454)

This commit is contained in:
Marc Mueller
2022-01-05 15:00:49 +01:00
committed by GitHub
parent c384596899
commit 40262c4763
7 changed files with 15 additions and 18 deletions

View File

@@ -1216,7 +1216,7 @@ class Script:
self._hass,
run_variables,
)
except template.TemplateError as err:
except exceptions.TemplateError as err:
self._log("Error rendering variables: %s", err, level=logging.ERROR)
raise
elif run_variables: