Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1 from ctfliblime/master

Pass HTTP::Exception objects back up the chain
  • Loading branch information...
commit 6a853b1871ce5e8705632daf61936c5e3955e88e 2 parents 94281c0 + b0073ec
@beppu authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/Squatting/On/PSGI.pm
View
1  lib/Squatting/On/PSGI.pm
@@ -60,6 +60,7 @@ sub psgi {
};
if ($@) {
+ die $@ if (ref($@) =~ /^HTTP::Exception/);
$res = [ 500, [ 'Content-Type' => 'text/plain' ], ["<pre>$@</pre>"] ];
}
Please sign in to comment.
Something went wrong with that request. Please try again.