private void Report_Click(object sender, RoutedEventArgs e) { GitHub.CreateNewIssue ( (string.IsNullOrEmpty(Exception.Source) ? string.Empty : $"[{Exception.Source}] ") + (string.IsNullOrEmpty(Exception.Message) ? string.Empty : $"'{Exception.Message}'"), BuildExceptionLog(true), new List <string>() { "bug", Fatal ? "fatal" : "unhandled" } ); }