mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Don't log error response.
This commit is contained in:
parent
2ab8fde0bb
commit
fe87d2cf4d
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ public class ExceptionHandler {
|
||||||
if (e.getCause() != null && (e instanceof ExecutionException || e instanceof CompletionException))
|
if (e.getCause() != null && (e instanceof ExecutionException || e instanceof CompletionException))
|
||||||
e = (Exception) e.getCause();
|
e = (Exception) e.getCause();
|
||||||
|
|
||||||
if (!(e instanceof ContentNotAvailableException)) {
|
if (!(e instanceof ContentNotAvailableException || e instanceof ErrorResponse)) {
|
||||||
Sentry.captureException(e);
|
Sentry.captureException(e);
|
||||||
if (Constants.SENTRY_DSN.isEmpty()) {
|
if (Constants.SENTRY_DSN.isEmpty()) {
|
||||||
if (path != null)
|
if (path != null)
|
||||||
|
|
Loading…
Reference in a new issue