Skip to content

Commit

Permalink
add printOnConsole error warning for CLEU without filters
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbuds authored and InfusOnWoW committed Oct 30, 2024
1 parent dfe6b66 commit f1b429e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WeakAuras/GenericTrigger.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1863,7 +1863,7 @@ function GenericTrigger.Add(data, region)

if warnAboutCLEUEvents then
Private.AuraWarnings.UpdateWarning(data.uid, "spammy_event_warning", "error",
L["|cFFFF0000Support for unfiltered COMBAT_LOG_EVENT_UNFILTERED is deprecated|r\nCOMBAT_LOG_EVENT_UNFILTERED without a filter is advised against as it’s very performance costly.\nFind more information:\nhttps://github.com/WeakAuras/WeakAuras2/wiki/Custom-Triggers#events"])
L["|cFFFF0000Support for unfiltered COMBAT_LOG_EVENT_UNFILTERED is deprecated|r\nCOMBAT_LOG_EVENT_UNFILTERED without a filter is advised against as it’s very performance costly.\nFind more information:\nhttps://github.com/WeakAuras/WeakAuras2/wiki/Custom-Triggers#events"], true)
else
Private.AuraWarnings.UpdateWarning(data.uid, "spammy_event_warning")
end
Expand Down

0 comments on commit f1b429e

Please sign in to comment.