Skip to content

Commit 960e241

Browse files
committed
Merge pull request #28 from skoobe/md5_crashfix
crashfix: RequestHandler: more generic exception catching to catch java.lang.AssertionError on executing the http request
2 parents 0c545af + f355b9a commit 960e241

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

AdjustIo/src/com/adeven/adjustio/RequestHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ private void sendInternal(ActivityPackage activityPackage) {
117117
closePackage(activityPackage, "Request timed out", e);
118118
} catch (IOException e) {
119119
closePackage(activityPackage, "Request failed", e);
120-
} catch (Exception e) {
121-
sendNextPackage(activityPackage, "Runtime exeption", e);
120+
} catch (Throwable e) {
121+
sendNextPackage(activityPackage, "Runtime exception", e);
122122
}
123123
}
124124

0 commit comments

Comments
 (0)