[Bps-public-commit] r10031 - bpsbuilder/BPB/lib/BPB

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Dec 20 23:58:29 EST 2007


Author: sunnavy
Date: Thu Dec 20 23:58:27 2007
New Revision: 10031

Modified:
   bpsbuilder/BPB/lib/BPB/Source.pm

Log:
we should die if require fails

Modified: bpsbuilder/BPB/lib/BPB/Source.pm
==============================================================================
--- bpsbuilder/BPB/lib/BPB/Source.pm	(original)
+++ bpsbuilder/BPB/lib/BPB/Source.pm	Thu Dec 20 23:58:27 2007
@@ -32,7 +32,7 @@
     croak "need source option" unless $args{source};
 
     my $module = 'BPB::Source::' . $type;
-    $module->require;
+    $module->require or die $@;
     return $module->new(%args);
 }
 



More information about the Bps-public-commit mailing list