Skip to content

Commit

Permalink
Detect errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
hiratara committed Sep 7, 2011
1 parent 6de5e89 commit 5e9a2ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script/backdoor.pl
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ sub crowl_url {
});
})->map(sub {
my ($lobby, $room_data) = @_;
$lobby && $room_data or return;

my %statuses = map { $_->{room_id} => $_->{room_status} } @$room_data;

my $schema = Chaberi::Backdoor::Schema->default_schema;
Expand Down

0 comments on commit 5e9a2ea

Please sign in to comment.