Skip to content

Commit 767a070

Browse files
authored
Report config file parsing more clearly
Report config file parsing more clearly. Credits @sjmudd
2 parents 7dd3821 + 1aacffb commit 767a070

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/MHA/Config.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ sub read_config($) {
337337

338338
if ( -f $global_configfile ) {
339339
my $global_cfg = Config::Tiny->read($global_configfile)
340-
or croak "$global_configfile:$!\n";
340+
or croak "Unable to parse/read configuration file: $global_configfile: $!\n";
341341

342342
$log->info("Reading default configuration from $self->{globalfile}..")
343343
if ($log);

0 commit comments

Comments
 (0)