Improve the error when we can't load the FCGI module
Andy Grundman [Fri, 18 May 2007 05:15:56 +0000 (05:15 +0000)]
lib/Catalyst/Engine/FastCGI.pm

index 666ecf0..8058a2d 100644 (file)
@@ -3,7 +3,7 @@ package Catalyst::Engine::FastCGI;
 use strict;
 use base 'Catalyst::Engine::CGI';
 eval "use FCGI";
-die "Please install FCGI\n" if $@;
+die "Unable to load the FCGI module, you may need to install it:\n$@\n" if $@;
 
 =head1 NAME