[svn-commits] tzafrir: tools/trunk r8924 - /tools/trunk/xpp/perl_modules/Dahdi/Config/Gen.pm

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jul 14 05:58:11 CDT 2010


Author: tzafrir
Date: Wed Jul 14 05:58:08 2010
New Revision: 8924

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8924
Log:
dahdi_genconf: better error message for a bad generator module

Modified:
    tools/trunk/xpp/perl_modules/Dahdi/Config/Gen.pm

Modified: tools/trunk/xpp/perl_modules/Dahdi/Config/Gen.pm
URL: http://svnview.digium.com/svn/dahdi/tools/trunk/xpp/perl_modules/Dahdi/Config/Gen.pm?view=diff&rev=8924&r1=8923&r2=8924
==============================================================================
--- tools/trunk/xpp/perl_modules/Dahdi/Config/Gen.pm (original)
+++ tools/trunk/xpp/perl_modules/Dahdi/Config/Gen.pm Wed Jul 14 05:58:08 2010
@@ -231,7 +231,7 @@
 	#print STDERR "DEBUG: $module\n";
 	eval "use $module";
 	if($@) {
-		die "Failed to load configuration generator for '$name'\n";
+		die "Failed to load configuration generator for '$name': $@\n";
 	}
 	my $cfg = $module->new($gconfig, $genopts);
 	$cfg->generate(@spans);




More information about the svn-commits mailing list