diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-07-24 13:46:42 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-24 13:46:42 -0500 |
| commit | fc7800409dfbe0cf26a72dd1de17cbae23d0cb35 (patch) | |
| tree | af6ddf14100addbd1b8fe8987f36f45db0e871d5 /src/slskd | |
| parent | fe49922ba8271c2bc14f51106b3d97eb87942346 (diff) | |
| parent | 5e9cc6dff16e9bc5cae8b2bcbc96c0b08fb9a65d (diff) | |
| download | slskd-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')
| -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 _)) |
