Print only short error when image retrieval fails

This commit is contained in:
miruka 2020-03-17 12:11:18 -04:00
parent e4d47b9b9c
commit 8452bdd5e7

View File

@ -59,7 +59,7 @@ HImage {
image.show = image.visible
}, (type, args, error, traceback) => {
print(`Error retrieving ${mxc} (${title}):\n${traceback}`)
print(`Error retrieving ${mxc} (${title}): ${type} ${args}`)
if (image) image.broken = true
},
)