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:
Ahmed Sayed
2019-04-17 10:57:57 +02:00
committed by Dominic Schabel
parent 44e753a08b
commit 16e771788e

View File

@@ -333,8 +333,10 @@ public class JpaSystemManagement implements CurrentTenantCacheKeyGenerator, Syst
try {
consumer.accept(tenant);
} 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);
LOGGER.error("Exception on forEachTenant execution for tenant {} with error message [{}]. "
+ "Continue with next tenant.", tenant, ex.getMessage());
}
return null;
}));