title: Remove the "StackTrace" alert of python program
body: <p>I built a shell python code. It uses common sockets for connections.</p>
  
  <p>If the connection fails, it prints a huge stacktrace.</p>
  
  <p>I would like to take it out by adding something in the script.</p>