KEYCLOAK-18740 Admin events trigger transaction rollback if exception is thrown.
This commit is contained in:
parent
8ffd53e206
commit
67e3df654f
1 changed files with 1 additions and 5 deletions
|
@ -242,11 +242,7 @@ public class AdminEventBuilder {
|
|||
eventCopy.setId(UUID.randomUUID().toString());
|
||||
|
||||
if (store != null) {
|
||||
try {
|
||||
store.onEvent(eventCopy, includeRepresentation);
|
||||
} catch (Throwable t) {
|
||||
ServicesLogger.LOGGER.failedToSaveEvent(t);
|
||||
}
|
||||
store.onEvent(eventCopy, includeRepresentation);
|
||||
}
|
||||
|
||||
if (listeners != null) {
|
||||
|
|
Loading…
Reference in a new issue