better error message

This commit is contained in:
Hongbo Wu
2024-03-06 11:54:41 +08:00
parent c346ba8703
commit 289f1cf5e2
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ const getImageSize = async (src: string): Promise<ImageSize | null> => {
height,
}
} catch (e) {
logger.error(e)
logger.error('get image size error', e)
return null
}
}

View File

@ -130,7 +130,7 @@ const triggerActions = async (
try {
await Promise.all(actionPromises)
} catch (error) {
logger.error(error)
logger.error('Error triggering rule actions', error)
}
}