[interchange] Print "...failed." on catalog configuration errors and remove duplicate error message.
Stefan Hornburg <[email protected]>
| Newsgroups | gmane.comp.web.interchange.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit 46de7d9f98208d83768c4b33d648974e9e5416d5 Author: Stefan Hornburg (Racke) <[email protected]> Date: Thu Jul 15 15:21:45 2010 +0200 Print "...failed." on catalog configuration errors and remove duplicate error message. scripts/interchange.PL | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) --- diff --git a/scripts/interchange.PL b/scripts/interchange.PL index 8ccbc11..d58d9a4 100644 --- a/scripts/interchange.PL +++ b/scripts/interchange.PL @@ -903,11 +903,11 @@ EOF # See if catalog configuration erred in some way.... if ($@ or ! defined $c) { my $msg = $@; - print "\n$msg\n\a$g->{'name'}: error in configuration. Skipping.\n"; $msg =~ s/\s+$//; $msg = " -- $msg" if $msg; logGlobal $g->{'name'} . ": config error$msg. Skipping."; undef $Global::Selector{$g->{'script'}}; + print "failed.\n" unless $Vend::Quiet or $g->{name} =~ /^_/; next; }