in line 178 of CatalystX/Controller/ExtJS/Direct/API.pm exceptions are handled. If the controller
is in debug mode, API tries to dump the error to the log. It uses a =>dump method however
that is not part of the current (default) Catalyst::Log object, is is better to use the error method
for that.
Change
$c->log->dump($msg) if($c->debug && !ref $msg);
To
$c->log->error($msg) if($c->debug && !ref $msg);
Makes debugging ExtJS apps a bit easier than digging through the router's results :)