send_redirect and send_error

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

send_redirect and send_error

fschmidt
Administrator
send_redirect and send_error automatically end running luan for a page by internally throwing an exception that is caught by HttpServicer.  This seems too magical to me and I want to get rid of it.  Okay?  Note that you are currently relying on this in pay-nabble cancel.luan .  I think an explicit "return" is clearer.
Woe to those who call bad good and good bad -- Isaiah 5:20
Following the Old Testament, not evil modern culture
Reply | Threaded
Open this post in threaded view
|

Re: send_redirect and send_error

Hugo <Nabble>
That's fine, I agree.
Reply | Threaded
Open this post in threaded view
|

Re: send_redirect and send_error

fschmidt
Administrator
done in rev b8ddd55c9b11, closing
Woe to those who call bad good and good bad -- Isaiah 5:20
Following the Old Testament, not evil modern culture