Пример #1
0
    public AirbrakeNotice Notice(Exception exception)
    {
        SharpBreak.AirbrakeNotice actualNotice =
            _airbrakeNoticeBuilder.Notice(exception);
        AirbrakeNotice result = new AirbrakeNotice();

        AirbreakNoticeMap.Map[result] = actualNotice;
        return(result);
    }
Пример #2
0
 public void Send(AirbrakeNotice notice)
 {
     SharpBreak.AirbrakeNotice actualNotice = AirbreakNoticeMap.Map[notice];
     _airbrakeClient.Send(actualNotice);
 }