<div dir="ltr">On Tue, Sep 9, 2008 at 4:58 PM, Ulf Wiger <span dir="ltr"><<a href="mailto:ulf@wiger.net">ulf@wiger.net</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm writing a non-trivial escript script, and am getting pretty<br>
frustrated with the error reporting.<br>
<br>
escript: exception error: no match of right hand side value {ok, ["..."]}<br>
<br>
My script is only 75 lines so far but has 10 different functions, and it would<br>
certainly help to at least know in which function the error occured,<br>
if not the line.<br>
<br>
If the script is interpreted, couldn't it give me the line number?<br>
I'd even forego the pretty-printing of the message in favor of some hard<br>
facts about where in the program the exception happened.<br>
</blockquote><div><br>We'll try to fix this in a future release.<br><br>/Bjorn<br></div></div><br>-- <br>Björn Gustavsson, Erlang/OTP, Ericsson AB<br>
</div>