Commit 840c04282779141ceba25dc8d755f45084be3aff

Authored by vparomskiy
1 parent 626d2ce1

log tenantID/ruleEntityId when RuleChain is not active

... ... @@ -82,7 +82,8 @@ public abstract class ComponentMsgProcessor<T extends EntityId> extends Abstract
82 82
83 83 protected void checkActive() {
84 84 if (state != ComponentLifecycleState.ACTIVE) {
85   - throw new IllegalStateException("Rule chain is not active!");
  85 + logger.warning("Rule chain is not active. Current state [{}] for processor [{}] tenant [{}]", state, tenantId, entityId);
  86 + throw new IllegalStateException("Rule chain is not active! " + entityId + " - " + tenantId);
86 87 }
87 88 }
88 89
... ...