<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hey Francois,</div><div><br></div><div>for airflowing we did it like this:</div><div><br></div><div>server side works in two stages:</div><div><br></div><div>first (optimist case) a custom error handler clones the walkback of the exception and redirects the app to a custom error page (a tiny little very simple seaside app.) So, this page gives the user the option to write us about what was she doing or just click on "login again." In either case, the walkback reach us printed in an email along with the user who had the problem so we can provide support or notify her about an upgrade that had fixed the issue.</div><div><br></div><div>second, if things goes really bad, it falls back to a simple page saying that some less gentle error happened :)</div><div><br></div><div>and if the exception happens in the DOM side, it works like this:</div><div><br></div><div>the exception is captured in the onError handler and it reacts redirecting to the error page previously described. &nbsp;Obviously this time we have no useful walkback but I've made it to print the component where that happened so at least I have something about the bug&nbsp;</div><div><br></div><div><div><a href="http://about.me/sebastianconcept">sebastian</a></div><div><br></div><div>o/</div></div><div><br></div><div><br></div><br><div><div>On May 30, 2011, at 2:41 PM, Francois Stephany wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>What is the preferred way to handle errors on a production seaside application? Is there some kind of <a href="http://www.hoptoadapp.com/">http://www.hoptoadapp.com/</a> to handle applications crashes/walkback?<br><br>How do you typically do to handle errors?<br><br>Cheers,<br>Francois<br><br>_______________________________________________<br>seaside mailing list<br><a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br></div></blockquote></div><div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br></body></html>