File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 11
11
12
12
use vars qw( $VERSION %IRSSI) ;
13
13
14
- $VERSION = " 1.7.4 " ;
15
- my ($REV ) = ' $Rev: 358 $' =~ / (\d +)/ ;
14
+ $VERSION = " 1.7.5 " ;
15
+ my ($REV ) = ' $Rev: 374 $' =~ / (\d +)/ ;
16
16
%IRSSI = (
17
17
authors => ' Dan Boger' ,
18
18
contact => ' zigdon@gmail.com' ,
21
21
. ' Can optionally set your bitlbee /away message to same' ,
22
22
license => ' GNU GPL v2' ,
23
23
url => ' http://tinyurl.com/twirssi' ,
24
- changed => ' $Date: 2009-01-13 21:02:17 -0800 (Tue, 13 Jan 2009) $' ,
24
+ changed => ' $Date: 2009-01-19 23:31:12 -0800 (Mon, 19 Jan 2009) $' ,
25
25
);
26
26
27
27
my $window ;
@@ -597,8 +597,11 @@ sub do_updates {
597
597
598
598
unless ( ref $tweets ) {
599
599
if ( $obj -> can(" get_error" ) ) {
600
+ my $error ;
601
+ eval { $error = JSON::Any-> jsonToObj( $obj -> get_error() ) };
602
+ if ($@ ) { $error = $obj -> get_error() }
600
603
print $fh " type:debug API Error during friends_timeline call: " ,
601
- JSON::Any -> jsonToObj( $obj -> get_error() ), " Aborted.\n " ;
604
+ " $error Aborted.\n " ;
602
605
} else {
603
606
print $fh
604
607
" type:debug API Error during friends_timeline call. Aborted.\n " ;
You can’t perform that action at this time.
0 commit comments