Skip to content

Commit

Permalink
Warning for connection timeout (debug info)
Browse files Browse the repository at this point in the history
  • Loading branch information
M66B committed Aug 18, 2014
1 parent 475dad5 commit 5713f45
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ XPrivacy 2

**Next release**

* Fixed all problems reported through the debug info

[Open issues](https://github.com/M66B/XPrivacy/issues?state=open)

**Version 2.2.10 BETA**
Expand Down
3 changes: 3 additions & 0 deletions src/biz/bokhorst/xprivacy/Util.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import java.util.ArrayList;
import java.util.List;

import org.apache.http.conn.ConnectTimeoutException;
import org.apache.http.conn.HttpHostConnectException;

import android.annotation.SuppressLint;
Expand Down Expand Up @@ -112,6 +113,8 @@ else if (ex instanceof TransactionTooLargeException)
priority = Log.WARN;
else if (ex instanceof UnknownHostException)
priority = Log.WARN;
else if (ex instanceof ConnectTimeoutException)
priority = Log.WARN;
else if (ex instanceof HttpHostConnectException)
priority = Log.WARN;
else
Expand Down

0 comments on commit 5713f45

Please sign in to comment.