<div dir="ltr"><div class="gmail_extra">Здраствуй!<br><br><div class="gmail_quote">2014-03-02 20:05 GMT+02:00 Иван Бессарабов <span dir="ltr"><<a href="mailto:ivan@bessarabov.ru" target="_blank">ivan@bessarabov.ru</a>></span>:<br>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Here is my problem.<br></blockquote></div><br clear="all">
<div>If I understand your problem correctly, the main problem is in configuration.</div><div><br></div><div>By default testing uses development environment and there is set "show_errrors = 1". That causes on die (or croak) to show full stack tree. Setting "show_errrors = 0" should give you simple 500 page.</div>
<div><br></div><div>Also, there is Dancer::Exceptions and this gives us special keyword "raise". Maybe it is better to use it? I read about it here:</div><div><a href="http://advent.perldancer.org/2011/6">http://advent.perldancer.org/2011/6</a> </div>
<div><br></div><div>Hope i got you right.</div><div><br></div>-- <br>Best regards, </div><div class="gmail_extra">Всего хорошего,</div><div class="gmail_extra">Kõike hääd,<br><br>Gunnar</div></div>