So without the patch you get this:
[info] *** Request 1 (0.025/s) [28258] [Fri Aug 27 11:08:43 2010] ***
[debug] "GET" request for "/" from "137.187.162.84"
[debug] Path is "/"
[error] Caught exception in dns::monitor::Controller::Root->end
"Catalyst::Action::RenderView could not find a view to forward to."
[debug] Response Code: 500; Content-Type: text/html; charset=utf-8;
Content-Length: 12665
[info] Request took 0.063976s (15.631/s)
The "error" just says "no view to forward to." with the patch, you
get a warning:
[info] *** Request 1 (0.020/s) [31170] [Fri Aug 27 11:36:27 2010] ***
[debug] "GET" request for "/" from "137.187.162.84"
[debug] Path is "/"
[warn] Attempted to use view 'dns::monitor::View::View::Mason', but
does not exist
[error] Caught exception in dns::monitor::Controller::Root->end
"Catalyst::Action::RenderView could not find a view to forward to."
[debug] Response Code: 500; Content-Type: text/html; charset=utf-8;
Content-Length: 12744
[info] Request took 0.037013s (27.018/s)
If you untar the TestAppWarnings.tar.gz inside the t/ directory you get:
live_warnings.t
lib/TestAppWarnings.pm
lib/TestAppWarnings/Controller/Root.pm
It tests for the warning message to the logger for non-existant views.
--
Brad Lhotsky
[info] *** Request 1 (0.025/s) [28258] [Fri Aug 27 11:08:43 2010] ***
[debug] "GET" request for "/" from "137.187.162.84"
[debug] Path is "/"
[error] Caught exception in dns::monitor::Controller::Root->end
"Catalyst::Action::RenderView could not find a view to forward to."
[debug] Response Code: 500; Content-Type: text/html; charset=utf-8;
Content-Length: 12665
[info] Request took 0.063976s (15.631/s)
The "error" just says "no view to forward to." with the patch, you
get a warning:
[info] *** Request 1 (0.020/s) [31170] [Fri Aug 27 11:36:27 2010] ***
[debug] "GET" request for "/" from "137.187.162.84"
[debug] Path is "/"
[warn] Attempted to use view 'dns::monitor::View::View::Mason', but
does not exist
[error] Caught exception in dns::monitor::Controller::Root->end
"Catalyst::Action::RenderView could not find a view to forward to."
[debug] Response Code: 500; Content-Type: text/html; charset=utf-8;
Content-Length: 12744
[info] Request took 0.037013s (27.018/s)
If you untar the TestAppWarnings.tar.gz inside the t/ directory you get:
live_warnings.t
lib/TestAppWarnings.pm
lib/TestAppWarnings/Controller/Root.pm
It tests for the warning message to the logger for non-existant views.
--
Brad Lhotsky