There was an error while loading. Please reload this page.
1 parent 36adb8c commit a7cbc65Copy full SHA for a7cbc65
1 file changed
examples/src/main/java/com/fingerprint/example/FunctionalTests.java
@@ -122,7 +122,12 @@ public static void main(String... args) {
122
System.exit(1);
123
}
124
125
- api.getEvent(oldRequestId);
+ try {
126
+ api.getEvent(oldRequestId);
127
+ } catch (ApiException e) {
128
+ System.err.println("Exception when trying to request old event \"" + oldRequestId + "\":" + e.getMessage());
129
+ System.exit(1);
130
+ }
131
System.out.println("Old events are good");
132
} catch (ApiException e) {
133
System.err.println("Exception when trying to read old data:" + e.getMessage());
0 commit comments