mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
NewsDownloader: Message with details when invalid configuration. (#3658)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user