Skip to content

Commit a7cbc65

Browse files
committed
chore: troubleshoot test failure
1 parent 36adb8c commit a7cbc65

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

examples/src/main/java/com/fingerprint/example/FunctionalTests.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,12 @@ public static void main(String... args) {
122122
System.exit(1);
123123
}
124124

125-
api.getEvent(oldRequestId);
125+
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+
}
126131
System.out.println("Old events are good");
127132
} catch (ApiException e) {
128133
System.err.println("Exception when trying to read old data:" + e.getMessage());

0 commit comments

Comments
 (0)