I should be more specific. In a "before_render" method, overriding "status" in the arguments hash or in the stash does not actually change the status. I'd like to be able to change the status from 500 to something else.
On Thursday, November 26, 2020 at 9:12:51 AM UTC Robert Rothenberg wrote: > That's helpful for customising the error pages. But how do I update the > HTTP status code? > > > On Wednesday, November 25, 2020 at 4:51:48 PM UTC Sebastian Riedel wrote: > >> Likewise, is a plugin or documented method for overriding the >>> `reply.exception` helper to use a specific template/layout when there are >>> errors? >>> >> >> >> https://docs.mojolicious.org/Mojolicious/Guides/Rendering#Rendering-exception-and-not_found-pages >> >> -- >> sebastian >> > -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to mojolicious+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/mojolicious/794161c3-c579-4c52-98c0-4bdb496a17e2n%40googlegroups.com.