fix issues in adapters

This commit is contained in:
2025-12-22 22:46:15 +01:00
parent 41b27402dc
commit 1efd971032
25 changed files with 144 additions and 103 deletions

View File

@@ -51,7 +51,7 @@ export class InMemoryUserRatingRepository implements IUserRatingRepository {
this.logger.info(`Found ${results.length} user ratings for ${userIds.length} requested users.`);
return results;
} catch (error) {
this.logger.error(`Error finding user ratings for user ids ${userIds.join(', ')}:`, error);
this.logger.error(`Error finding user ratings for user ids ${userIds.join(', ')}:`, error instanceof Error ? error : new Error(String(error)));
throw error;
}
}