I have code like this:
hook after => sub {
my ($response) = @_;
if ($response->status != 200) {
...
}
return;
};
In Dancer2-0.159003 the after hooks used to get an object that had a method called 'status'.
In Dancer2-0.160000 it is not the case any more.
I get the following: Can't locate object method "status" via package "Dancer2::Core::Response::Delayed"
Was this change intentional?
Gabor