mirror of
https://github.com/immich-app/immich.git
synced 2026-02-11 11:27:56 +03: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