Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Sat May 6 14:22:45 2017] [debug] **************************************************
- [Sat May 6 14:22:45 2017] [debug] GET "/servers"
- [Sat May 6 14:22:46 2017] [debug] Routing to a callback
- [Sat May 6 14:22:46 2017] [debug] Routing to controller "App::Controller::Server" and action "list"
- [Sat May 6 14:22:46 2017] [debug] Rendering cached template "server/list.html.ep"
- [Sat May 6 14:22:49 2017] [debug] Rendering cached template "layouts/v1.html.ep"
- [Sat May 6 14:22:50 2017] [debug] 200 OK (4.743003s, 0.211/s)
- [Sat May 6 14:23:07 2017] [debug] **************************************************
- [Sat May 6 14:23:07 2017] [debug] GET "/servers"
- [Sat May 6 14:23:08 2017] [debug] Routing to a callback
- [Sat May 6 14:23:08 2017] [debug] Routing to controller "App::Controller::Server" and action "list"
- [Sat May 6 14:23:08 2017] [debug] Rendering cached template "server/list.html.ep"
- [Sat May 6 14:23:12 2017] [debug] Rendering cached template "layouts/v1.html.ep"
- [Sat May 6 14:23:12 2017] [debug] 200 OK (4.546729s, 0.220/s)
- APPLICATION STARTED
- [Sat May 6 14:31:53 2017] [debug] **************************************************
- [Sat May 6 14:31:53 2017] [debug] GET "/servers"
- [Sat May 6 14:31:56 2017] [debug] Routing to a callback
- [Sat May 6 14:31:56 2017] [debug] Routing to controller "App::Controller::Server" and action "list"
- [Sat May 6 14:31:57 2017] [debug] Rendering template "server/list.html.ep"
- [Sat May 6 14:32:01 2017] [debug] Rendering template "layouts/v1.html.ep"
- [Sat May 6 14:32:01 2017] [debug] 200 OK (7.436036s, 0.134/s)
- [Sat May 6 14:32:01 2017] [debug] **************************************************
- [Sat May 6 14:32:02 2017] [error] Can't call method "name" on an undefined value at /home/kes/work/projects/safevpn/repo2/lib/Mojolicious/Plugin/Wizard.pm line 74.
- [Sat May 6 14:32:02 2017] [debug] Rendering template "exception.development.html.ep"
- [Sat May 6 14:32:02 2017] [debug] Rendering template "mojo/menubar.html.ep"
- [Sat May 6 14:32:03 2017] [debug] Rendering cached template "layouts/v1.html.ep"
- [Sat May 6 14:32:05 2017] [debug] **************************************************
- [Sat May 6 14:32:05 2017] [debug] GET "/servers"
- [Sat May 6 14:32:06 2017] [debug] Routing to a callback
- [Sat May 6 14:32:06 2017] [debug] Routing to controller "App::Controller::Server" and action "list"
- [Sat May 6 14:32:06 2017] [debug] Rendering cached template "server/list.html.ep"
- [Sat May 6 14:32:09 2017] [debug] Rendering cached template "layouts/v1.html.ep"
- [Sat May 6 14:32:10 2017] [debug] 200 OK (4.867291s, 0.205/s)
- sub setup {
- ...
- $app->hook( after_build_tx => sub{ $_[1]->log->debug( '*'x50 ) }) ;
- }
- ..............
- package Mojolicious::Plugin::Wizard;
- use Mojo::Base 'Mojolicious::Plugin';
- sub register {
- my( $plugin, $app, $conf ) = @_;
- $app->hook( after_dispatch => \&wizard_state );
- }
- sub wizard_state {
- my( $c ) = @_;
- $c->match->endpoint->name; # <<<< line 74;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement