Commit 840c04282779141ceba25dc8d755f45084be3aff
1 parent
626d2ce1
log tenantID/ruleEntityId when RuleChain is not active
Showing
1 changed file
with
2 additions
and
1 deletions
... | ... | @@ -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 | ... | ... |