mirror of
https://github.com/koreader/koreader
synced 2024-11-10 01:10:34 +00:00
show debug info when JSON data cannot be decoded
This commit is contained in:
parent
846836dceb
commit
c43885b917
@ -76,6 +76,7 @@ function ReaderDictionary:stardictLookup(word, box)
|
|||||||
--DEBUG("lookup result table:", word, results)
|
--DEBUG("lookup result table:", word, results)
|
||||||
self:showDict(word, tidy_markup(results), box)
|
self:showDict(word, tidy_markup(results), box)
|
||||||
else
|
else
|
||||||
|
DEBUG("JSON data cannot be decoded", results)
|
||||||
-- dummy results
|
-- dummy results
|
||||||
results = {
|
results = {
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user