Skip to content

Commit

Permalink
shut up and let the connections end as they please
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmay committed Jul 5, 2010
1 parent af7ab52 commit 0fd5cb5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/App/Termcast/Server.pm
Expand Up @@ -156,10 +156,12 @@ sub _build_server_guard {
on_error => sub {
my ($h, $fatal, $error) = @_;

warn $error;
if ($fatal) {
$h->destroy;
}
else {
warn $error;
}
}
);
my $handle_id = new_uuid_string();
Expand Down Expand Up @@ -260,7 +262,6 @@ sub handle_server {
my ($h, $data) = @_;

if ($data->{request} eq 'sessions') {
warn "RESPONSE";
$h->push_write(
json => {
response => 'sessions',
Expand Down

0 comments on commit 0fd5cb5

Please sign in to comment.