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

pull/3663/head
mwoz123 6 years ago committed by Frans de Jonge
parent f6ca1c7c0a
commit c63d31f8d5

@ -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

Loading…
Cancel
Save