aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Application
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-07-24 13:46:42 -0500
committerGitHub <noreply@github.com>2021-07-24 13:46:42 -0500
commitfc7800409dfbe0cf26a72dd1de17cbae23d0cb35 (patch)
treeaf6ddf14100addbd1b8fe8987f36f45db0e871d5 /src/slskd/Application
parentfe49922ba8271c2bc14f51106b3d97eb87942346 (diff)
parent5e9cc6dff16e9bc5cae8b2bcbc96c0b08fb9a65d (diff)
downloadslskd-fc7800409dfbe0cf26a72dd1de17cbae23d0cb35.tar.gz
Merge pull request #128 from mathiascode/not-shared-message
Rename 'File not found.' message to 'File not shared.'
Diffstat (limited to 'src/slskd/Application')
-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 _))