title: How to log exception thrown in asp.net?
body: <p>In my ASP.NET app, I have the following code:</p>
  <pre><code>catch(Exception e) {
    throw new Exception(&quot;error&quot;);
  }
  </code></pre>
  <p>How can I modify this to log the text in the actual exception <code>e</code>?</p>