We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ce3785 commit 59f96e3Copy full SHA for 59f96e3
custom_components/avanza_stock/config_flow.py
@@ -155,6 +155,14 @@ def find_includes(yaml_path, checked=None):
155
# Store found configurations for the confirmation step
156
self._found_configs = []
157
# ...existing code for processing entries...
158
+ except Exception as ex:
159
+ _LOGGER.exception("Error migrating YAML configuration: %s", ex)
160
+ errors = {}
161
+ errors["base"] = "migration_error"
162
+ return self.async_show_form(
163
+ step_id="migrate_yaml",
164
+ errors=errors,
165
+ )
166
167
if user_input is not None:
168
if CONF_ID in user_input: # User selected an instrument
0 commit comments