mirror of
https://github.com/keycloak/keycloak.git
synced 2026-05-04 22:21:01 -05:00
eb990bcf23
make sure SQLException#getSQLState is not null before attempting to call methods on it. I have observed exceptions during AWS MySQL RDS failovers where sql state is null, causing this method to throw an NPE exception rather than the expected ModelException closes #38467 Signed-off-by: Robert Hollencamp <rhollencamp@cargurus.com>