diff options
| author | JP Dillingham <jp@dillingham.me> | 2023-01-07 19:37:10 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2023-01-07 19:37:10 -0600 |
| commit | d911856eb26175377f6d7822e35fac394cbecde2 (patch) | |
| tree | 1fd7d56fa0d90861550e37bb3d47a0c58a541f7d /src | |
| parent | c69c289b0b00a15d47e4c98fcf7def63b494051f (diff) | |
| download | slskd-d911856eb26175377f6d7822e35fac394cbecde2.tar.gz | |
don't throw ApplicationException
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Shares/SqliteShareRepository.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Shares/SqliteShareRepository.cs b/src/slskd/Shares/SqliteShareRepository.cs index a4c4dd4c..f10b55e5 100644 --- a/src/slskd/Shares/SqliteShareRepository.cs +++ b/src/slskd/Shares/SqliteShareRepository.cs @@ -672,7 +672,7 @@ namespace slskd.Shares var msg = "The internal share database has been corrupted or lost, and the application cannot continue to run. Please report this in a GitHub issue here: https://github.com/slskd/slskd/issues"; Log.Fatal(msg); Environment.Exit(1); - throw new ApplicationException(msg); + throw new DataMisalignedException(msg); } } } |
