fix: don't fallback on HTTP errors

This commit is contained in:
edde746
2025-11-16 11:04:39 +01:00
parent d10b882516
commit 080907c813
@@ -138,11 +138,6 @@ class EndpointFailoverInterceptor extends Interceptor {
return true;
}
if (error.type == DioExceptionType.badResponse) {
final statusCode = error.response?.statusCode ?? 0;
return statusCode >= 500;
}
return false;
}