| changeset 24 | b69b7aa98a1d |
| parent 23 | e621317229f7 |
| child 29 | 006e82a1bcd0 |
--- a/CrashTest.pl Wed Jul 30 23:49:59 2014 +0200 +++ b/CrashTest.pl Sat Aug 02 23:46:30 2014 +0200 @@ -25,7 +25,7 @@ app->attr(storage => sub { my $self = shift; - eval "require $config->{Storage}->{Type}"; + eval "require $config->{Storage}->{Type}" or die "Loading module failed $@"; return $config->{Storage}->{Type}->new($config->{Storage}); }); @@ -113,4 +113,6 @@ app->secrets([ 'My secret passphrase here' ]); + +push @{app->commands->namespaces}, 'CrashTest::Commands'; app->start;