commit 907360f9d045eb0f062d0bc0322862e63358dd94 Author: Karsten Loesing karsten.loesing@gmx.net Date: Wed Jun 14 21:50:21 2017 +0200
Hotfix for #22594. --- src/main/java/org/torproject/onionoo/docs/DocumentStore.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/torproject/onionoo/docs/DocumentStore.java b/src/main/java/org/torproject/onionoo/docs/DocumentStore.java index 34bc8ef..56ca406 100644 --- a/src/main/java/org/torproject/onionoo/docs/DocumentStore.java +++ b/src/main/java/org/torproject/onionoo/docs/DocumentStore.java @@ -537,8 +537,9 @@ public class DocumentStore { Gson gson = new Gson(); try { result = gson.fromJson(documentString, documentType); - } catch (JsonParseException e) { + } catch (Throwable e) { /* Handle below. */ + log.error(documentString); log.error(e.getMessage(), e); } if (result == null) {
tor-commits@lists.torproject.org