diff options
| author | mathiascode <mail@mathias.is> | 2021-07-24 01:21:01 +0300 |
|---|---|---|
| committer | mathiascode <mail@mathias.is> | 2021-07-24 01:24:14 +0300 |
| commit | 5e9cc6dff16e9bc5cae8b2bcbc96c0b08fb9a65d (patch) | |
| tree | af6ddf14100addbd1b8fe8987f36f45db0e871d5 /src/slskd/Application | |
| parent | fe49922ba8271c2bc14f51106b3d97eb87942346 (diff) | |
| download | slskd-5e9cc6dff16e9bc5cae8b2bcbc96c0b08fb9a65d.tar.gz | |
Rename 'File not found.' message to 'File not shared.'
Diffstat (limited to 'src/slskd/Application')
| -rw-r--r-- | src/slskd/Application/Service.cs | 2 |
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 _)) |
