Skip to content

Commit

Permalink
better debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
mickeyn committed Apr 16, 2016
1 parent 19528ab commit 803ad30
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions app.psgi
Expand Up @@ -14,6 +14,7 @@ my $dev_mode;
BEGIN {
$root_dir = File::Basename::dirname(__FILE__);
$dev_mode = $ENV{PLACK_ENV} && $ENV{PLACK_ENV} eq 'development';
$dev_mode and require Carp::Always;
}

BEGIN {
Expand Down
1 change: 1 addition & 0 deletions cpanfile
@@ -1,3 +1,4 @@
requires 'Carp::Always';
requires 'AnyEvent::Curl::Multi';
requires 'CHI';
requires 'CPAN::Changes', '0.21';
Expand Down
7 changes: 7 additions & 0 deletions cpanfile.snapshot
Expand Up @@ -301,6 +301,13 @@ DISTRIBUTIONS
perl 5.006
strict 0
warnings 0
Carp-Always-0.13
pathname: F/FE/FERREIRA/Carp-Always-0.13.tar.gz
provides:
Carp::Always 0.13
requirements:
Carp 0
ExtUtils::MakeMaker 0
Carp-Assert-0.21
pathname: N/NE/NEILB/Carp-Assert-0.21.tar.gz
provides:
Expand Down

0 comments on commit 803ad30

Please sign in to comment.