title: how to handle exceptions
body: <p>I'm using  asp.net mvc4 </p>
  
  <p>In  my  <code>Global.asax.cs</code> I  have  </p>
  
  <pre><code>          void Application_Error(object sender, EventArgs e)
      {
          //We clear the response
          Response.Clear();
  
  
  
  
          {
  
              Response.Redirect("~/Shared/_Error");
          }
  
          //We clear the error
          Server.ClearError();
      }
  </code></pre>
  
  <p>that  gives me a nice   error  message  for the user</p>
  
  <p>but  for  me as a developper  i want  to  see  some informations  about   the  exception </p>
  
  <p>how  can i handel  that ?  can i  use  a simple file  to  store  that informations?</p>