diff --git a/src/main/java/me/kavin/piped/utils/ExceptionHandler.java b/src/main/java/me/kavin/piped/utils/ExceptionHandler.java index 529956f..86fb1f6 100644 --- a/src/main/java/me/kavin/piped/utils/ExceptionHandler.java +++ b/src/main/java/me/kavin/piped/utils/ExceptionHandler.java @@ -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)