Avoiding recurrent walkbacks

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Avoiding recurrent walkbacks

Esteban A. Maringolo
Sometimes it happens to me that when debugging an error inside a request/response cycle I close the debugger expecting to cancel the cycle.

But instead of getting an error page rendered I get the walkback again... and again. Until it stops coming back, and finally renders the error page.

I'm using Pharo 3 with Zinc adapter.

Bonus: How can I change the error handler of my app programmatically? :)

Regards!





_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Avoiding recurrent walkbacks

sebastianconcept@gmail.co
It might be something else but sounds like this filter I have in airflowing that makes some retries on exceptions

One thing that comes to mind is to make it behave differently for dev and production

no-retry on local dev should do





> On Nov 18, 2014, at 6:12 PM, Esteban A. Maringolo <[hidden email]> wrote:
>
> Sometimes it happens to me that when debugging an error inside a request/response cycle I close the debugger expecting to cancel the cycle.
>
> But instead of getting an error page rendered I get the walkback again... and again. Until it stops coming back, and finally renders the error page.
>
> I'm using Pharo 3 with Zinc adapter.
>
> Bonus: How can I change the error handler of my app programmatically? :)
>
> Regards!
>
>
>
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Avoiding recurrent walkbacks

Johan Brichau-2
In reply to this post by Esteban A. Maringolo
Does it reoccur when you close the web browser after the first debugger pops up?

Johan

> On 18 Nov 2014, at 21:12, Esteban A. Maringolo <[hidden email]> wrote:
>
> Sometimes it happens to me that when debugging an error inside a request/response cycle I close the debugger expecting to cancel the cycle.
>
> But instead of getting an error page rendered I get the walkback again... and again. Until it stops coming back, and finally renders the error page.
>
> I'm using Pharo 3 with Zinc adapter.
>
> Bonus: How can I change the error handler of my app programmatically? :)
>
> Regards!
>
>
>
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Avoiding recurrent walkbacks

Johan Brichau-2
In reply to this post by Esteban A. Maringolo

On 18 Nov 2014, at 21:12, Esteban A. Maringolo <[hidden email]> wrote:

Bonus: How can I change the error handler of my app programmatically? :)

app := WAAdmin register: WAMyApp asApplicationAt: ‘MyApp'.
app exceptionHandler: WAWalkbackErrorHandler

cheers
Johan

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Avoiding recurrent walkbacks

Bob Arning-2
In reply to this post by Esteban A. Maringolo
something like

self application exceptionHandler: WADebugErrorHandler

perhaps?

On 11/18/14 3:12 PM, Esteban A. Maringolo wrote:
Bonus: How can I change the error handler of my app programmatically? :)



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside