Changeset 20483 for lang/perl/Moxy

Show
Ignore:
Timestamp:
10/02/08 16:55:24 (3 months ago)
Author:
tokuhirom
Message:

better error message

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Moxy/trunk/lib/Moxy/Cmd.pm

    r20394 r20483  
    3030    my ($self, $opt, $args) = @_; 
    3131 
     32    die "missing configuration file path" unless $opt->{config}; 
    3233    my $config = YAML::LoadFile( $opt->{config} ); 
    3334    $config->{global}->{log} ||= { level => 'debug' };