We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2129624 + d16642a commit 81f9fa9Copy full SHA for 81f9fa9
iterableapi/src/main/java/com/iterable/iterableapi/IterableRequest.java
@@ -189,6 +189,13 @@ protected String doInBackground(IterableApiRequest... params) {
189
} catch (IOException e) {
190
logError(baseUrl, e);
191
handleFailure(e.getMessage(), null);
192
+ } catch (ArrayIndexOutOfBoundsException e) {
193
+ // This exception is sometimes thrown from the inside of HttpUrlConnection/OkHttp
194
+ logError(baseUrl, e);
195
+ handleFailure(e.getMessage(), null);
196
+ } catch (Exception e) {
197
198
199
} finally {
200
if (urlConnection != null) {
201
urlConnection.disconnect();
0 commit comments