X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FController%2FREST.pm;h=91434b50ff76408ee203cbbea6e491afb98aefa5;hb=edab9038aa7b1c76d52ab17b4e521ca8dfa8e54c;hp=321037a6b34610d29b34689d9da0b9c43a66f495;hpb=bdc54939efa0a9cd664a10e5ae4241b69d9956de;p=catagits%2FCatalyst-Action-Serialize-Data-Serializer.git diff --git a/lib/Catalyst/Controller/REST.pm b/lib/Catalyst/Controller/REST.pm index 321037a..91434b5 100644 --- a/lib/Catalyst/Controller/REST.pm +++ b/lib/Catalyst/Controller/REST.pm @@ -71,6 +71,7 @@ sub status_bad_request { ); $c->response->status(400); + $c->log->debug("Status Bad Request: " . $p{'message'}); $self->_set_entity($c, { error => $p{'message'} }); return 1; } @@ -85,6 +86,7 @@ sub status_not_found { ); $c->response->status(404); + $c->log->debug("Status Not Found: " . $p{'message'}); $self->_set_entity($c, { error => $p{'message'} }); return 1; }