Question:
Where is the exception logged?
try { Save(); }
catch(Exception ex)
{
Trace.Error(ex.Message);
}
Answer:
The exception gets logged to a diagnostic trace listener. The Trace.Error method allows you to log exceptions to a diagnostic trace listener. Alternatively, you would need to configure tracing for the application.