Permalink
Browse files

add error check

  • Loading branch information...
syohex committed Oct 14, 2012
1 parent 46e1395 commit 97ae64a4db7be7059a06b757d00d9998c635c2f6
Showing with 1 addition and 0 deletions.
  1. +1 −0 eg/dmm.co.jp/site_entire.pl
@@ -25,6 +25,7 @@
keyword => 'rio',
hits => 10,
);
+die "Failed to request" unless $res->is_success;
my $index = 1;
for my $item (@{$res->items}) {

0 comments on commit 97ae64a

Please sign in to comment.