title: How can I write an exception stack trace in erlang after catching it?
body: <p>Suppose I have something like this :</p>
  
  <pre><code>try code_that_fails()
  catch _:_ -&gt; .....
  </code></pre>
  
  <p>How do I print the stacktrace in the catch block? That block catches all exceptions, but I don't know how to print the stack...</p>
  
  <p>Can you help me?</p>