aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2023-01-07 19:37:10 -0600
committerJP Dillingham <jp@dillingham.me>2023-01-07 19:37:10 -0600
commitd911856eb26175377f6d7822e35fac394cbecde2 (patch)
tree1fd7d56fa0d90861550e37bb3d47a0c58a541f7d
parentc69c289b0b00a15d47e4c98fcf7def63b494051f (diff)
downloadslskd-d911856eb26175377f6d7822e35fac394cbecde2.tar.gz
don't throw ApplicationException
-rw-r--r--src/slskd/Shares/SqliteShareRepository.cs2
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);
}
}
}