Added clearer debug logging to createOrLookup

This commit is contained in:
Alvaro
2022-12-02 18:05:27 -07:00
committed by GitHub
parent bc4f3dcd01
commit e41252b35e
21 changed files with 55 additions and 4 deletions

View File

@@ -1327,6 +1327,12 @@ async function fetchKeysForIdentifier(
await markIdentifierUnregistered(identifier);
return;
}
log.error(
`fetchKeysForIdentifier: Error fetching ${
devices || 'all'
} devices for ${identifier}`,
Errors.toLogFormat(error)
);
throw error;
}
}