This commit is contained in:
Erik 2020-07-25 16:59:26 +03:00
parent 618335db15
commit 7036b9abff

View File

@ -128,7 +128,7 @@ class MessageCache extends Observer {
}
const buffer = await Util.downloadAsBuffer(attachment.proxyURL || attachment.url).catch((err) => {
this.client.logger.error(`Failed to save buffer with image data: ${data}\n${err.stack || err}`);
this.client.logger.error(`Failed to save buffer with image data: ${data} ${data.name}\n${err.stack || err}`);
return null;
});