Skip to content

Commit

Permalink
just log directly
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Apr 21, 2016
1 parent 5038a1b commit 4573fdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Mojo/Server/Daemon.pm
Expand Up @@ -119,9 +119,9 @@ sub _close {

# Finish gracefully
if (my $tx = $self->{connections}{$id}{tx}) {
$tx->closed;
$self->_debug($id, 'Premature connection close')
$self->app->log->debug('Premature connection close')
unless $tx->is_websocket || $tx->res->is_finished;
$tx->closed;
}

delete $self->{connections}{$id};
Expand Down

0 comments on commit 4573fdc

Please sign in to comment.