add user id to log

This commit is contained in:
Namekuji 2023-09-28 19:57:03 -04:00
parent 3cf6c3731c
commit 45952ed97d
No known key found for this signature in database
GPG key ID: 1D62332C07FBA532

View file

@ -442,6 +442,7 @@ export const UserRepository = db.getRepository(User).extend({
} catch (e) { } catch (e) {
scyllaLogger.error("Failed to fetch pinned notes", { scyllaLogger.error("Failed to fetch pinned notes", {
pinnedNoteIds, pinnedNoteIds,
userId: user.id,
error: e, error: e,
}); });
pinnedNotes = []; pinnedNotes = [];