I’m trying to use this statement
status_label.Text = err.Message + " || " + err.InnerException == null ? " " : err.InnerException.Message;
Basically if there is an InnerException because its not null, then show it, if it is null then don’t output anything.
this is as streamlined as I think I can have it
status_label.Text = err.Message;
if (err.InnerException != null)
status_label.Text += " || " + err.InnerException.Message;
Cheers.
Use this instead: