Trek_CN/server/src/services/memories
jubnl ed7e2badca
fix: catch sharp errors in ensureLocalThumbnail and fall back to original
Sharp throws on unsupported formats (HEIC, corrupt files, etc.) and the
error was propagated outside the try/catch, crashing the server. Moved the
mkdir + sharp pipeline inside the catch block so any failure returns null
and streamPhoto falls through to serving the original file.
2026-04-22 16:11:38 +02:00
..
helpersService.ts feat: journey gallery 1-to-N model with M:N entry-photo junction table 2026-04-22 15:58:31 +02:00
immichService.ts fix journey bugs reported by roel-de-vries (#722-#736) 2026-04-18 19:11:16 +02:00
photoResolverService.ts fix: serve real thumbnails for local photos instead of full-resolution originals (#822) 2026-04-22 15:56:34 +02:00
synologyService.ts fix: bump synology cached thumbnail size sm->m (#782) 2026-04-21 15:21:58 +02:00
thumbnailService.ts fix: catch sharp errors in ensureLocalThumbnail and fall back to original 2026-04-22 16:11:38 +02:00
trekPhotoCache.ts feat(photos): add 1h disk cache for remote thumbnails and keep tabs mounted 2026-04-17 20:49:38 +02:00
unifiedService.ts fix(synology): correct multi-album passphrase assignment and stale trek_photos 2026-04-17 19:48:12 +02:00