Skip to content

Commit

Permalink
s3270: Prevent confess dying in custom die handler
Browse files Browse the repository at this point in the history
7a2e1b4 introduced a problem that 'confess' dies without any output so that
we can not even catch this from tests.
  • Loading branch information
okurz committed Jun 8, 2016
1 parent ea883d5 commit d7b9325
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions consoles/s3270.pm
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,7 @@ sub expect_3270() {
while (my $line = $self->{raw_expect_queue}->dequeue_nb()) {
push @$result, $line;
}

confess "status line matches neither buffer_ready nor buffer_full:\n" . Dumper($result) . $status_line;
warn "status line matches neither buffer_ready nor buffer_full:\n" . Dumper($result) . $status_line;
}

}
Expand Down

0 comments on commit d7b9325

Please sign in to comment.