From d911856eb26175377f6d7822e35fac394cbecde2 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 7 Jan 2023 19:37:10 -0600 Subject: don't throw ApplicationException --- src/slskd/Shares/SqliteShareRepository.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); } } } -- cgit v1.2.3