diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2010-07-14 10:58:08 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2010-07-14 10:58:08 +0000 |
commit | 954aa74cd2fd1da24e414866609b7c5b30ada478 (patch) | |
tree | 1aac6c8156cc9b26e95f4dd1d82c9e3aea068185 | |
parent | f8642a73236788f89291cf8542d0ac117099b6e3 (diff) |
dahdi_genconf: better error message for a bad generator module
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8924 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r-- | xpp/perl_modules/Dahdi/Config/Gen.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xpp/perl_modules/Dahdi/Config/Gen.pm b/xpp/perl_modules/Dahdi/Config/Gen.pm index 5cfeb9c..6894f53 100644 --- a/xpp/perl_modules/Dahdi/Config/Gen.pm +++ b/xpp/perl_modules/Dahdi/Config/Gen.pm @@ -231,7 +231,7 @@ sub run_generator($$@) { #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); |