Changed quota exceeded exception logging, only log exception message (#817)
Signed-off-by: Ahmed Sayed <ahmed.sayed@bosch-si.com>
This commit is contained in:
committed by
Dominic Schabel
parent
44e753a08b
commit
16e771788e
@@ -333,8 +333,10 @@ public class JpaSystemManagement implements CurrentTenantCacheKeyGenerator, Syst
|
|||||||
try {
|
try {
|
||||||
consumer.accept(tenant);
|
consumer.accept(tenant);
|
||||||
} catch (final RuntimeException ex) {
|
} catch (final RuntimeException ex) {
|
||||||
LOGGER.error("Exception on forEachTenant execution for tenant {}. Continue with next tenant.",
|
LOGGER.debug("Exception on forEachTenant execution for tenant {}. Continue with next tenant.",
|
||||||
tenant, ex);
|
tenant, ex);
|
||||||
|
LOGGER.error("Exception on forEachTenant execution for tenant {} with error message [{}]. "
|
||||||
|
+ "Continue with next tenant.", tenant, ex.getMessage());
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}));
|
}));
|
||||||
|
|||||||
Reference in New Issue
Block a user