public void Post(ErrorLogModel error) { try { var sb = new StringBuilder(); sb.AppendLine(error.ErrorUrl + Environment.NewLine); sb.AppendLine(error.ErrorMessage + Environment.NewLine); sb.AppendLine(error.StackTrace + Environment.NewLine); sb.AppendLine(error.Cause + Environment.NewLine); _errorSignaler.SignalFromCurrentContext(new Exception(sb.ToString())); } catch (Exception ex) { _errorSignaler.SignalFromCurrentContext(ex); } }