/// <summary> /// Display a handled error /// </summary> private void MessagingOnHandledErrorEvent(HandledErrorPacket packet) { var hstack = (!string.IsNullOrEmpty(packet.StackTrace) ? (Environment.NewLine + " " + packet.StackTrace) : string.Empty); _logging.Error(packet.Message + hstack); }
/// <summary> /// Display a handled error /// </summary> public void DisplayHandledErrorPacket(HandledErrorPacket packet) { var hstack = (!string.IsNullOrEmpty(packet.StackTrace) ? (Environment.NewLine + " " + packet.StackTrace) : string.Empty); _logging.Error(packet.Message + hstack); }