RED-5293: fixed broken IllegalArgumentException, it throws now a 400 instead of 500
This commit is contained in:
parent
0a83f992e0
commit
274fc4551e
@ -71,7 +71,7 @@ public class TenantManagementService {
|
||||
DataSource tenantDataSource = new SingleConnectionDataSource(connection, false);
|
||||
runLiquibase(tenantDataSource);
|
||||
} catch (PSQLException e) {
|
||||
log.info("SQL state: {}", e.getSQLState());
|
||||
log.info("SQL state: {}, msg: {}, localized msg: {}", e.getSQLState(), e.getMessage(), e.getLocalizedMessage());
|
||||
handleClientException(e);
|
||||
handleInternalException(e);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user