Update logging message for DbConcurrency messages

This commit is contained in:
JPVenson
2026-05-12 21:11:15 +00:00
parent c6910c3034
commit a47da0f1a3

View File

@@ -273,6 +273,11 @@ public class JellyfinDbContext(DbContextOptions<JellyfinDbContext> options, ILog
}).ConfigureAwait(false);
return result;
}
catch (DbUpdateConcurrencyException)
{
// a concurrency exception is supposed to be always handled by the invoker of the method, logging it here is only causing log bloat.
throw;
}
catch (Exception e)
{
logger.LogError(e, "Error trying to save changes.");