Skip to content

Commit 5371a4c

Browse files
authored
Ignore TokenExpiredException (#1209)
1 parent b7a7aa2 commit 5371a4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/mskcc/cbio/oncokb/OncokbPublicApp.java

+1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ private static void initSentry(Environment env) {
106106
options.addIgnoredExceptionForType(CustomMessageRuntimeException.class);
107107
options.addIgnoredExceptionForType(BadRequestAlertException.class);
108108
options.addIgnoredExceptionForType(ResourceAccessException.class);
109+
options.addIgnoredExceptionForType(TokenExpiredException.class);
109110
});
110111
}
111112
}

0 commit comments

Comments
 (0)