public AirbrakeNotice Notice(Exception exception) { SharpBreak.AirbrakeNotice actualNotice = _airbrakeNoticeBuilder.Notice(exception); AirbrakeNotice result = new AirbrakeNotice(); AirbreakNoticeMap.Map[result] = actualNotice; return(result); }
public void Send(AirbrakeNotice notice) { SharpBreak.AirbrakeNotice actualNotice = AirbreakNoticeMap.Map[notice]; _airbrakeClient.Send(actualNotice); }