mirror of
https://github.com/immich-app/immich.git
synced 2026-03-03 03:57:01 +00:00
fix: ignore checksum constraint error when logging (#26113)
This commit is contained in:
@@ -102,6 +102,10 @@ export const getKyselyConfig = (
|
||||
}),
|
||||
log(event) {
|
||||
if (event.level === 'error') {
|
||||
if (isAssetChecksumConstraint(event.error)) {
|
||||
return;
|
||||
}
|
||||
|
||||
console.error('Query failed :', {
|
||||
durationMs: event.queryDurationMillis,
|
||||
error: event.error,
|
||||
|
||||
Reference in New Issue
Block a user