Reduce Unauthenticated Errors in Sentry (#238)

* Updated README to be explicit that kavita.db needs to be writable.

* Implemented a new Exception type that is for throwing a message to UI without logging in Sentry.
This commit is contained in:
Joseph Milazzo 2021-06-01 06:57:46 -05:00 committed by GitHub
parent 0a39a17407
commit aaad82cb7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 27 additions and 1 deletions

View file

@ -99,6 +99,7 @@ namespace API
options.AddExceptionFilterForType<OutOfMemoryException>();
options.AddExceptionFilterForType<NetVips.VipsException>();
options.AddExceptionFilterForType<InvalidDataException>();
options.AddExceptionFilterForType<KavitaException>();
options.BeforeSend = sentryEvent =>
{