mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Bug 166318 - Bugzilla::Config should check for defparams.pl failure
r=joel x2
This commit is contained in:
parent
e883ef274b
commit
9283e3b274
@ -130,7 +130,11 @@ sub _load_datafiles {
|
||||
_load_datafiles();
|
||||
|
||||
# Load in the param defintions
|
||||
do 'defparams.pl';
|
||||
unless (my $ret = do 'defparams.pl') {
|
||||
die "Couldn't parse defparams.pl: $@" if $@;
|
||||
die "Couldn't do defparams.pl: $!" unless defined $ret;
|
||||
die "Couldn't run defparams.pl" unless $ret;
|
||||
}
|
||||
|
||||
# Stick the params into a hash
|
||||
my %params;
|
||||
|
Loading…
Reference in New Issue
Block a user