NebulaLogger icon indicating copy to clipboard operation
NebulaLogger copied to clipboard

System.LimitException: Regex too complicated from LogEntryEventBuilder.applyDataMaskRules:

Open EnglundAndreas opened this issue 4 months ago • 3 comments

Package Edition of Nebula Logger

Unlocked Package

Package Version of Nebula Logger

v4.12

New Bug Summary

I get an expected error when running a batch + queuable job due to locking error from a Query. So I have Nebula Logger that I want to log this error, but when it's trying to log my original error, I get an exception "System.LimitException: Regex too complicated".

Stack Trace from Nebula Logger (error is LogEntryEventBuilder.applyDataMaskRules): Class.LogEntryEventBuilder.applyDataMaskRules: line 928, column 1 Class.LogEntryEventBuilder.setMessage: line 151, column 1 Class.Logger.error: line 838, column 1

EnglundAndreas avatar Feb 20 '24 11:02 EnglundAndreas