aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormathiascode <mail@mathias.is>2021-07-24 01:21:01 +0300
committermathiascode <mail@mathias.is>2021-07-24 01:24:14 +0300
commit5e9cc6dff16e9bc5cae8b2bcbc96c0b08fb9a65d (patch)
treeaf6ddf14100addbd1b8fe8987f36f45db0e871d5
parentfe49922ba8271c2bc14f51106b3d97eb87942346 (diff)
downloadslskd-5e9cc6dff16e9bc5cae8b2bcbc96c0b08fb9a65d.tar.gz
Rename 'File not found.' message to 'File not shared.'
-rw-r--r--src/slskd/Application/Service.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Application/Service.cs b/src/slskd/Application/Service.cs
index d9b682fc..b40c43c9 100644
--- a/src/slskd/Application/Service.cs
+++ b/src/slskd/Application/Service.cs
@@ -413,7 +413,7 @@ namespace slskd
if (!fileInfo.Exists)
{
Console.WriteLine($"[UPLOAD REJECTED] File {localFilename} not found.");
- throw new DownloadEnqueueException($"File not found.");
+ throw new DownloadEnqueueException($"File not shared.");
}
if (tracker.TryGet(TransferDirection.Upload, username, filename, out _))