Permalink
Browse files

don't fail adding of custom catalog if opensearch link is broken

  • Loading branch information...
1 parent 2fe2ee6 commit 5f7d34ec6a54d757a054bc06e25710adddcf6f78 @geometer committed Jun 3, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −0 ChangeLog
  2. +2 −3 src/org/geometerplus/fbreader/network/opds/OPDSCustomNetworkLink.java
View
@@ -1,4 +1,5 @@
===== 1.5.6 (Jun ??, 2012) =====
+* Can add custom catalogs even if opensearch links are not fully correct
* More API methods
===== 1.5.5 (Jun 03, 2012) =====
@@ -147,9 +147,8 @@ public void handleStream(InputStream inputStream, int length) throws IOException
try {
ZLNetworkManager.Instance().perform(requests);
} catch (ZLNetworkException e) {
- if (error == null) {
- error = e;
- }
+ // we do ignore errors in opensearch description loading/parsing
+ e.printStackTrace();
}
}

0 comments on commit 5f7d34e

Please sign in to comment.