Skip to content

Commit ce5f958

Browse files
committed
Fix the case
1 parent bd56a44 commit ce5f958

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/VWF/Config.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ sub new
120120
my $params = Params::Get::get_params(undef, @_);
121121

122122
if (exists $params->{logger} && defined $params->{logger}) {
123-
Throw Error::Simple('logger must be an object with debug method')
123+
throw Error::Simple('logger must be an object with debug method')
124124
unless ref($params->{logger}) && $params->{logger}->can('debug');
125125
}
126126

@@ -129,7 +129,7 @@ sub new
129129
}
130130

131131
if(exists $params->{config} && defined $params->{config}) {
132-
Throw Error::Simple('config must be a hash reference') unless ref($params->{config}) eq 'HASH';
132+
throw Error::Simple('config must be a hash reference') unless ref($params->{config}) eq 'HASH';
133133
}
134134

135135
my $class = ref($proto) || $proto;

0 commit comments

Comments
 (0)