aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Core/API/Controllers
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-12-20 10:41:20 -0600
committerJP Dillingham <jpdillingham@gmail.com>2021-12-20 10:41:20 -0600
commit51d7c419fca778287d9a2510828eb66f0424777f (patch)
treed74a4f3f76ce353fca40ff8e6317e7a947e35291 /src/slskd/Core/API/Controllers
parent7e294935ab2e04bff7f57bbee894decb986d0971 (diff)
downloadslskd-51d7c419fca778287d9a2510828eb66f0424777f.tar.gz
simplify exception message
Diffstat (limited to 'src/slskd/Core/API/Controllers')
-rw-r--r--src/slskd/Core/API/Controllers/OptionsController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Core/API/Controllers/OptionsController.cs b/src/slskd/Core/API/Controllers/OptionsController.cs
index cb3eec36..062de8f7 100644
--- a/src/slskd/Core/API/Controllers/OptionsController.cs
+++ b/src/slskd/Core/API/Controllers/OptionsController.cs
@@ -119,7 +119,7 @@ namespace slskd.Core.API
}
catch (Exception ex)
{
- throw new IOException($"Failed to write configuration file {Program.ConfigurationFile}: {ex.Message}");
+ throw new IOException($"Failed to update configuration file: {ex.Message}");
}
}