Skip to content

Commit

Permalink
no need to print errors to STDERR too
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Oct 29, 2015
1 parent e487cc9 commit 91f359f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions t/mojo/prefork.t
Expand Up @@ -31,6 +31,7 @@ ok !-e $file, 'file has been cleaned up';
# Bad PID file
my $bad = catfile dirname(__FILE__), 'does_not_exist', 'test.pid';
$prefork = Mojo::Server::Prefork->new(pid_file => $bad);
$prefork->app->log->level('fatal');
my $log = '';
my $cb = $prefork->app->log->on(message => sub { $log .= pop });
eval { $prefork->ensure_pid_file };
Expand Down

0 comments on commit 91f359f

Please sign in to comment.