mirror of
https://github.com/TeamPiped/Piped-Backend
synced 2025-09-04 04:21:20 +02:00
Don't log error response.
This commit is contained in:
parent
2ab8fde0bb
commit
fe87d2cf4d
@ -20,7 +20,7 @@ public class ExceptionHandler {
|
||||
if (e.getCause() != null && (e instanceof ExecutionException || e instanceof CompletionException))
|
||||
e = (Exception) e.getCause();
|
||||
|
||||
if (!(e instanceof ContentNotAvailableException)) {
|
||||
if (!(e instanceof ContentNotAvailableException || e instanceof ErrorResponse)) {
|
||||
Sentry.captureException(e);
|
||||
if (Constants.SENTRY_DSN.isEmpty()) {
|
||||
if (path != null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user