use HTTP::Request::AsCGI ();
use HTTP::Request ();
use URI ();
-use Catalyst::Exception ();
use URI::Escape;
use HTTP::Request::Common;
select($old);
- Catalyst::Exception->throw(
- message => "CGI invocation failed: $saved_error"
- ) if $saved_error;
+ die $saved_error if $saved_error;
}
return $env->response;