-- Now trigger an event if someone's listening. If not, just print -- it to the chat frame so it doesn't get lost. if AceLibrary and AceLibrary:HasInstance("AceEvent-2.0") then AceLibrary("AceEvent-2.0"):TriggerEvent("BugGrabber_ErrorGrabbed", oe) else ChatFrame1:AddMessage("BugGrabber captured an error:\n" .. BugGrabber.FormatError(oe)) end