mirror of
https://github.com/samsonjs/immich.git
synced 2026-03-25 09:15:56 +00:00
fix: ignore checksum constraint error when logging (#26113)
This commit is contained in:
parent
4c948647fc
commit
458d5f0f8f
1 changed files with 4 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue