Add correct line numbers for yaml include directives (#5303)

This commit is contained in:
Johann Kellerman authored and Paulus Schoutsen committed 2017-01-13 21:13:17 -08:00
1 parent 0cf3c22da0
commit b67cce7215
2 files changed
+28 -19

No files matched your search

+1 -1
View File
@@ -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__', '?'))