Changeset c9bdb46
- Timestamp:
- Dec 27, 2009, 3:07:17 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- f3e44eb
- Parents:
- 40c9dac
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/BarnOwl/Module/Twitter/Handle.pm
rf2adf6c rc9bdb46 170 170 171 171 my $ratelimit = eval { $self->{twitter}->rate_limit_status }; 172 warn "$@\n"if $@;172 BarnOwl::debug($@) if $@; 173 173 unless(defined($ratelimit) && ref($ratelimit) eq 'HASH') { 174 174 # Twitter's probably just sucking, try again later. … … 199 199 200 200 my $timeline = eval { $self->{twitter}->home_timeline( { since_id => $self->{last_id} } ) }; 201 warn "$@\n"if $@;201 BarnOwl::debug($@) if $@; 202 202 unless(defined($timeline) && ref($timeline) eq 'ARRAY') { 203 203 $self->twitter_error(); … … 207 207 if ($self->{cfg}->{show_mentions}) { 208 208 my $mentions = eval { $self->{twitter}->mentions( { since_id => $self->{last_id} } ) }; 209 warn "$@\n"if $@;209 BarnOwl::debug($@) if $@; 210 210 unless (defined($mentions) && ref($mentions) eq 'ARRAY') { 211 211 $self->twitter_error(); … … 252 252 253 253 my $direct = eval { $self->{twitter}->direct_messages( { since_id => $self->{last_direct} } ) }; 254 warn "$@\n"if $@;254 BarnOwl::debug($@) if $@; 255 255 unless(defined($direct) && ref($direct) eq 'ARRAY') { 256 256 $self->twitter_error();
Note: See TracChangeset
for help on using the changeset viewer.