File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
examples/src/main/java/com/fingerprint/example Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ public static void main(String... args) {
2626
2727 final FingerprintApi api = new FingerprintApi (Configuration .getDefaultApiClient (apiSecret , region ));
2828
29+ System .out .println ("BASE_PATH: " + api .getApiClient ().getBasePath ());
30+
2931 long end = Instant .now ().toEpochMilli ();
3032 long start = Instant .now ().minus (90L , ChronoUnit .DAYS ).toEpochMilli ();
3133
@@ -48,7 +50,8 @@ public static void main(String... args) {
4850 eventId = firstEvent .getEventId ();
4951 System .out .println (events .getEvents ());
5052 } catch (ApiException e ) {
51- System .err .println ("Exception when calling FingerprintApi.searchEvents:" + e .getMessage ());
53+ System .out .println ("BASE_PATH:" + api .getApiClient ().getBasePath ().toUpperCase ());
54+ System .err .println ("Exception when calling FingerprintApi.searchEvents:" + e .getMessage () + e .getResponseBody () + e .getResponseHeaders () + e .getCode ());
5255 System .exit (1 );
5356 }
5457
You can’t perform that action at this time.
0 commit comments