<div dir="ltr">Hi Johan, <div><br></div><div>I wasn't aware of this Sentry integration, thanks for the reference (although it might seem overkill for my _current_ needs).</div><div><br></div><div>For other Seaside app I have a custom error handler that writes the stack to disk, but it leverages on some existing features, already provided by VisualWorks (+customer tweaks).</div><div>So I can do `anException dumpLogFile` and it will dump the whole stack trace to the globally specified "log dumps" directory.</div><div><br></div><div>But since doing a post-mortem analysis with Fuel could be a superior option, that's why I wanted to ask about its existence, before adding it to the list of "things to do whenever I have time" after I finish salvaging a VPS do-release-upgrade that went bananas :-D</div><div><br></div><div>Regards!</div><div><br clear="all"><div><div dir="ltr" data-smartmail="gmail_signature">Esteban A. Maringolo</div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Aug 1, 2020 at 3:33 PM Johan Brichau <<a href="mailto:johan@inceptive.be" target="_blank">johan@inceptive.be</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>In addition to ’saving the stack to the objectlog in Gemstone’, we also report the error to <a href="http://sentry.io" target="_blank">sentry.io</a> using a port of <a href="https://github.com/peteruhnak/pharo-sentry" target="_blank">https://github.com/peteruhnak/pharo-sentry</a></div><div>Although I must say Sentry does not cope too well with the Smalltalk stack trace, there might be some room for improvement.</div><div><br></div><div>But there is hardly anything Seaside-specific to it, as you just need to subclass WAExceptionHandler and override the necessary handle methods with whatever you want to export.</div><div><br></div><div>Also: serializing the stack (printing) is probably quite different in each Smalltalk dialect. At least I know we have vastly different code between Pharo and GemStone for that.</div><div><br></div><div>cheers</div><div>Johan</div><div><br><blockquote type="cite"><div>On 1 Aug 2020, at 19:22, Esteban Maringolo <<a href="mailto:emaringolo@gmail.com" target="_blank">emaringolo@gmail.com</a>> wrote:</div><br><div><div dir="ltr">Hi Jonathan,<div><br></div><div>I remember Mariano Martinez (who developed Fuel initially, cc: for the heads up) did something like this while working in the Quuve project, but with GemStone</div><div>I tried to access it but it's in SmalltalkHub and it is down now.</div><div><br></div><div>At this point a text dump of the stacktrace could work.</div><div><br></div><div>Regards!</div><div><br></div><div><div><div dir="ltr">Esteban A. Maringolo</div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Aug 1, 2020 at 2:02 PM Jonathan van Alteren <<a href="mailto:jvalteren@objectguild.com" target="_blank">jvalteren@objectguild.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>
<div name="messageBodySection">
<div dir="auto">Hi Esteban,<br>
<br>
I've been wanting to do the same, but haven't had the time to implement this yet. However, I did find the following links that will be of use:<br>
<br>
<a href="https://marianopeck.blog/2012/01/19/moving-contexts-and-debuggers-between-images-with-fuel/" target="_blank">https://marianopeck.blog/2012/01/19/moving-contexts-and-debuggers-between-images-with-fuel/</a><br>
<a href="https://github.com/ba-st/Launchpad/blob/release-candidate/docs/Debugging.md" target="_blank">https://github.com/ba-st/Launchpad/blob/release-candidate/docs/Debugging.md</a><br>
<br>
Some of our fellow Smalltalkers have paved the road for us already ;-)<br>
<br>
I would love to hear about your results!<br>
<br>
<br>
Best,</div>
</div>
<div name="messageSignatureSection"><br>
<div dir="auto"><br>
<table>
<tbody>
<tr>
<td style="border-right:1px solid rgb(0,0,0);padding-right:1.2em"><a href="https://objectguild.com/" target="_blank"><img width="90"></a></td>
<td style="padding-left:1em;vertical-align:top">
<div dir="auto"><b>Jonathan van Alteren</b></div>
<div dir="auto">Founding Member | Object Guild B.V.</div>
<div dir="auto"><i>Sustainable Software for Purpose-Driven Organizations</i></div>
<br>
<div dir="auto">+316 22500930</div>
<div dir="auto"><a href="mailto:jvalteren@objectguild.com" target="_blank">jvalteren@objectguild.com</a></div>
</td>
<td valign="bottom"><img width="65"></td>
</tr>
</tbody>
</table>
</div>
</div>
<div name="messageReplySection">On 1 Aug 2020, 17:32 +0200, Esteban Maringolo <<a href="mailto:emaringolo@gmail.com" target="_blank">emaringolo@gmail.com</a>>, wrote:<br>
<blockquote type="cite" style="border-left:thin solid grey;margin:5px;padding-left:10px">Hi all,<br>
<br>
Does anybody know about a publicly available Seaside Error handler<br>
that serializes the exception to disk (to a configurable location)<br>
either in a plaintext format or, ideally, using Fuel?<br>
<br>
Thanks!<br>
<br>
Esteban A. Maringolo<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br></blockquote>
</div>
</div>

_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" rel="noreferrer" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</blockquote></div>
_______________________________________________<br>seaside mailing list<br><a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br></div></blockquote></div><br></div>_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" rel="noreferrer" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</blockquote></div>