NewsDownloader: Message with details when invalid configuration. (#3658)

This commit is contained in:
mwoz123
2018-02-03 20:35:07 +01:00
committed by Frans de Jonge
parent f6ca1c7c0a
commit c63d31f8d5

View File

@@ -160,7 +160,8 @@ function NewsDownloader:loadConfigAndProcessFeeds()
local ok, feed_config = pcall(dofile, feed_config_path)
if not ok or not feed_config then
logger.err("NewsDownloader: Feed config not found.")
info = InfoMessage:new{ text = T(_("Invalid configuration file. Detailed error message:\n%1"), feed_config) }
UIManager:show(info)
return
end