KEYCLOAK-19501 Removed exception handling on failed event persistence in the EventBuilder class.
This commit is contained in:
parent
c9764e114e
commit
07d47cf6c2
1 changed files with 1 additions and 5 deletions
|
@ -215,11 +215,7 @@ public class EventBuilder {
|
|||
if (store != null) {
|
||||
Set<String> eventTypes = realm.getEnabledEventTypesStream().collect(Collectors.toSet());
|
||||
if (!eventTypes.isEmpty() ? eventTypes.contains(event.getType().name()) : event.getType().isSaveByDefault()) {
|
||||
try {
|
||||
store.onEvent(event);
|
||||
} catch (Throwable t) {
|
||||
log.error("Failed to save event", t);
|
||||
}
|
||||
store.onEvent(event);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue