Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Pass HTTP::Exceptions up the call chain

  • Loading branch information...
commit 935d818e8306c9b438f6d3cf01c6fb207d060493 1 parent 3f54e5a
@ctfliblime ctfliblime authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/Squatting.pm
View
1  lib/Squatting.pm
@@ -139,6 +139,7 @@ sub service {
my $content;
eval { $content = $c->$method(@args) };
+ die $@ if (ref($@) =~ /^HTTP::Exception/); # Pass HTTP::Exceptions on up
warn "EXCEPTION: $@" if ($@);
my $cookies = $c->cookies;
Please sign in to comment.
Something went wrong with that request. Please try again.