feat: log thumb gen errors

This commit is contained in:
Adhiraj Singh
2022-09-12 12:15:34 +05:30
parent c20865dff1
commit 64f3f08adb
2 changed files with 9 additions and 2 deletions

View File

@@ -607,7 +607,8 @@ export const makeMessagesSocket = (config: SocketConfig) => {
userJid,
getUrlInfo: text => getUrlInfo(
text,
{ thumbnailWidth: linkPreviewImageThumbnailWidth, timeoutMs: 3_000 }
{ thumbnailWidth: linkPreviewImageThumbnailWidth, timeoutMs: 3_000 },
logger
),
upload: waUploadToServer,
mediaCache: config.mediaCache,