diff --git a/CHANGELOG.md b/CHANGELOG.md
index 90d0cfa..ae5728f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [2.0.23] - 2023-03-15
+### Changed
+- Fixed docker build issues.
+
## [2.0.22] - 2023-03-11
### Added
- Add support for Premiumize
diff --git a/client/src/app/navbar/navbar.component.html b/client/src/app/navbar/navbar.component.html
index 2d36b8b..7ff6f30 100644
--- a/client/src/app/navbar/navbar.component.html
+++ b/client/src/app/navbar/navbar.component.html
@@ -55,7 +55,7 @@
Profile
Logout
- Version 2.0.22
+ Version 2.0.23
diff --git a/package.json b/package.json
index 2ca9fd3..fbcfd5c 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "rdt-client",
- "version": "2.0.22",
+ "version": "2.0.23",
"description": "This is a web interface to manage your torrents on Real-Debrid.",
"main": "index.js",
"dependencies": {
diff --git a/server/RdtClient.Service/BackgroundServices/TaskRunner.cs b/server/RdtClient.Service/BackgroundServices/TaskRunner.cs
index 1b14e3e..8d0892c 100644
--- a/server/RdtClient.Service/BackgroundServices/TaskRunner.cs
+++ b/server/RdtClient.Service/BackgroundServices/TaskRunner.cs
@@ -1,4 +1,6 @@
-using Microsoft.Extensions.DependencyInjection;
+using System.Text.Json;
+using Microsoft.EntityFrameworkCore;
+using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using RdtClient.Service.Services;
@@ -36,6 +38,20 @@ public class TaskRunner : BackgroundService
{
await torrentRunner.Tick();
}
+ catch (DbUpdateConcurrencyException ex)
+ {
+ foreach (var entry in ex.Entries)
+ {
+ var proposedValues = entry.CurrentValues;
+ var databaseValues = await entry.GetDatabaseValuesAsync(stoppingToken);
+
+ _logger.LogWarning("DbUpdateConcurrencyException occurred:");
+ _logger.LogWarning("Proposed Values:");
+ _logger.LogWarning(JsonSerializer.Serialize(proposedValues));
+ _logger.LogWarning("Database Values:");
+ _logger.LogWarning(JsonSerializer.Serialize(databaseValues));
+ }
+ }
catch (Exception ex)
{
_logger.LogError(ex, $"Unexpected error occurred in TorrentDownloadManager.Tick: {ex.Message}");
diff --git a/server/RdtClient.Web/RdtClient.Web.csproj b/server/RdtClient.Web/RdtClient.Web.csproj
index ff2bc06..3538da3 100644
--- a/server/RdtClient.Web/RdtClient.Web.csproj
+++ b/server/RdtClient.Web/RdtClient.Web.csproj
@@ -4,7 +4,7 @@
net6.0
Exe
94c24cba-f03f-4453-a671-3640b517c573
- 2.0.22
+ 2.0.23
enable
enable
latest