From 5e9cc6dff16e9bc5cae8b2bcbc96c0b08fb9a65d Mon Sep 17 00:00:00 2001 From: mathiascode Date: Sat, 24 Jul 2021 01:21:01 +0300 Subject: Rename 'File not found.' message to 'File not shared.' --- src/slskd/Application/Service.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 _)) -- cgit v1.2.3