Skip to content

Commit

Permalink
de-improve the comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jberger committed Mar 12, 2016
1 parent 4f00c4c commit 85c3fd4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Mojo/UserAgent.pm
Expand Up @@ -240,12 +240,10 @@ sub _finish {
# Finish connection
$self->_reuse($id, $close);

# Set error for 4xx/5xx
if ($res->is_status_class(400) || $res->is_status_class(500)) {
$res->error({message => $res->message, code => $res->code});
}

# Handle redirects or invoke callback
$c->{cb}($self, $old) unless $self->_redirect($c, $old);
}

Expand Down

0 comments on commit 85c3fd4

Please sign in to comment.