diff --git a/CHANGELOG.md b/CHANGELOG.md
index 186bad7..1010cd3 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.4] - 2022-01-08
+### Changed
+- Fixed bug where the QBittorrent API didn't report the error state correctly when an error ocurred in the debrid provider.
+
## [2.0.3] - 2022-01-02
### Changed
- Fixed automatic adding of AllDebrid torrents.
diff --git a/client/src/app/navbar/navbar.component.html b/client/src/app/navbar/navbar.component.html
index 042fa46..1ed39bc 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.3
+ Version 2.0.4
diff --git a/package.json b/package.json
index b263b85..a3022b8 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "rdt-client",
- "version": "2.0.3",
+ "version": "2.0.4",
"description": "This is a web interface to manage your torrents on Real-Debrid.",
"main": "index.js",
"dependencies": {
diff --git a/server/RdtClient.Service/Services/QBittorrent.cs b/server/RdtClient.Service/Services/QBittorrent.cs
index 950a95e..a5a42bc 100644
--- a/server/RdtClient.Service/Services/QBittorrent.cs
+++ b/server/RdtClient.Service/Services/QBittorrent.cs
@@ -307,7 +307,7 @@ namespace RdtClient.Service.Services
}
else if (!String.IsNullOrWhiteSpace(torrent.Error))
{
- result.State = torrent.Error;
+ result.State = "error";
}
else if (torrent.Completed.HasValue)
{
diff --git a/server/RdtClient.Web/RdtClient.Web.csproj b/server/RdtClient.Web/RdtClient.Web.csproj
index f41ce7c..9a0750b 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.3
+ 2.0.4