<div dir="ltr">Hello,<div><br></div><div>I've written a cgi script in haskell, it crashes sometimes with the error message Prelude . tail : empty list<br clear="all"><br></div><div>In Java we would use this approach to log the erro </div>
<div><br></div><div>try {</div><div><br></div><div>} catch (Exception e) {</div><div><br></div><div><br></div><div>}</div><div><br></div><div><br>-- <br>Pieter Laeremans <<a href="mailto:pieter@laeremans.org">pieter@laeremans.org</a>><br>
<br>"The future is here. It's just not evenly distributed yet." W. Gibson<br>
</div></div>