diff --git a/packages/backend/src/models/repositories/user.ts b/packages/backend/src/models/repositories/user.ts index 303e638385..94e0b0a4b1 100644 --- a/packages/backend/src/models/repositories/user.ts +++ b/packages/backend/src/models/repositories/user.ts @@ -442,6 +442,7 @@ export const UserRepository = db.getRepository(User).extend({ } catch (e) { scyllaLogger.error("Failed to fetch pinned notes", { pinnedNoteIds, + userId: user.id, error: e, }); pinnedNotes = [];