Skip to content

Commit 42a8b4d

Browse files
committed
prints error messages in readAsList() and readAsMap()
1 parent 4f51f76 commit 42a8b4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/brunoarruda/hyperdcpabe/io/FileController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public <T extends Object> List<T> readAsList(String path, String file, Class<T>
9090
list.add(mapper.readValue(value, classReference));
9191
}
9292
} catch (Exception e) {
93-
// System.out.println("FileController - Couldnt parse json: " + file);
93+
e.printStackTrace();
9494
}
9595
return list;
9696
}
@@ -113,7 +113,7 @@ public <K extends Object, V extends Object> Map<K, V> readAsMap(String path, Str
113113
map.put((K) entry.getKey(), mapper.readValue(value, valueClass));
114114
}
115115
} catch (Exception e) {
116-
// System.out.println("FileController - Couldn't parse json: " + file);
116+
e.printStackTrace();
117117
}
118118
return map;
119119
}

0 commit comments

Comments
 (0)