aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Core/Blacklist.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Core/Blacklist.cs b/src/slskd/Core/Blacklist.cs
index dc8a9162..5242a797 100644
--- a/src/slskd/Core/Blacklist.cs
+++ b/src/slskd/Core/Blacklist.cs
@@ -220,9 +220,9 @@ public class Blacklist
throw new Exception();
}
}
- catch
+ catch (Exception ex)
{
- throw new FormatException($"Failed to parse blacklist line {lineNumber} '{line}' (expected {format} format)");
+ throw new FormatException($"Failed to parse {format} blacklist line {lineNumber} '{line}': {ex.Message}");
}
// grab the first octet of the first and last addresses in the range