title: python 3 try-except all with error
body: <p>Is it possible to do a try-except catch all that still shows the error without catching every possible exception? I have a case where exceptions will happen once a day every few days in a script running 24/7. I can't let the script die but they also don't matter since it retries regardless as long as I try except everything. So while I track down any last rare exceptions I want to log those to a file for future debugging.</p>
  
  <p>example: </p>
  
  <pre><code>try:
      print(555)
  except:
      print("type error: "+ str(the_error))
  </code></pre>
  
  <p>Any way to replace <code>the_error</code> with a stack trace or something similar?</p>