title: How using try catch for exception handling is best practice
body: <p>while maintaining my colleague's code from even someone who claims to be a senior developer, I often see the following code:</p>
  <pre><code>try
  {
    //do something
  }
  catch
  {
    //Do nothing
  }
  </code></pre>
  <p>or sometimes they write logging information to log files like following <code>try catch</code> block</p>
  <pre><code>try
  {
    //do some work
  }
  catch(Exception exception)
  {
     WriteException2LogFile(exception);
  }
  </code></pre>
  <p>I am just wondering if what they have done is the best practice? It makes me confused because in my thinking users should know what happens with the system.</p>