Mapped biometric decode error to media ID.
This commit is contained in:
@@ -84,7 +84,7 @@ async function getBiometrics(avatarEntry) {
|
||||
|
||||
return result;
|
||||
} catch (error) {
|
||||
logger.error(error);
|
||||
logger.error(`Failed to decode or detect ${avatarEntry.media_id}: ${error.message}`);
|
||||
|
||||
return null;
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user