Print only short error when image retrieval fails
This commit is contained in:
parent
e4d47b9b9c
commit
8452bdd5e7
|
@ -59,7 +59,7 @@ HImage {
|
||||||
image.show = image.visible
|
image.show = image.visible
|
||||||
|
|
||||||
}, (type, args, error, traceback) => {
|
}, (type, args, error, traceback) => {
|
||||||
print(`Error retrieving ${mxc} (${title}):\n${traceback}`)
|
print(`Error retrieving ${mxc} (${title}): ${type} ${args}`)
|
||||||
if (image) image.broken = true
|
if (image) image.broken = true
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user