Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
log it as an error
  • Loading branch information
kraih committed Oct 29, 2015
1 parent 60e8a4f commit e487cc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojo/Server/Prefork.pm
Expand Up @@ -45,7 +45,7 @@ sub ensure_pid_file {
return if -e (my $file = $self->pid_file);

# Create PID file
$self->app->log->info(qq{Can't create process id file "$file": $!})
$self->app->log->error(qq{Can't create process id file "$file": $!})
and die qq{Can't create process id file "$file": $!}
unless open my $handle, '>', $file;
$self->app->log->info(qq{Creating process id file "$file"});
Expand Down

0 comments on commit e487cc9

Please sign in to comment.