diff --git a/src/classes/TriggerHandler.cls b/src/classes/TriggerHandler.cls index 57c4774..4b2da24 100644 --- a/src/classes/TriggerHandler.cls +++ b/src/classes/TriggerHandler.cls @@ -156,7 +156,7 @@ public virtual class TriggerHandler { if(!this.isTriggerExecuting || this.context == null) { throw new TriggerHandlerException('Trigger handler called outside of Trigger execution'); } - return !TriggerHandler.bypassedHandlers.contains(getHandlerName()); + return !isBypassed(getHandlerName()); } @TestVisible