Add correct line numbers for yaml include directives (#5303)
This commit is contained in:
1 parent
0cf3c22da0
commit
b67cce7215
2 files changed
+28
-19
No files matched your search
@@ -606,7 +606,7 @@ def async_log_exception(ex, domain, config, hass):
|
||||
message += '{}.'.format(humanize_error(config, ex))
|
||||
|
||||
domain_config = config.get(domain, config)
|
||||
message += " (See {}:{}). ".format(
|
||||
message += " (See {}, line {}). ".format(
|
||||
getattr(domain_config, '__config_file__', '?'),
|
||||
getattr(domain_config, '__line__', '?'))
|
||||
|
||||
|
||||
Reference in new issue
Block a user