# HG changeset patch # User Dominic Cleal # Date 1258807280 0 # Node ID 5db6fd5ffe179ea4343d25a8349f94fcacb92d7a # Parent de14128c1858ec9a222b2984f5256d1690ce8925# Parent 680fca147aee1419aee5e3172aaf92b1f13cd9fe Merging accidental branch diff -r 680fca147aee -r 5db6fd5ffe17 skillbot.pl --- a/skillbot.pl Sat Nov 21 12:34:35 2009 +0000 +++ b/skillbot.pl Sat Nov 21 12:41:20 2009 +0000 @@ -488,9 +488,12 @@ my $f = shift; # Don't attempt updates during downtime, can cause crash - return if (timestamp_in_downtime(time)); + # return if (timestamp_in_downtime(time)); - my $char_skill = $f->{char_api}->skill; + my $char_skill; + eval { $char_skill = $f->{char_api}->skill; } + warn $@ if $@; + # Sometimes this is undefined if there's an API error, try later return unless defined $char_skill;