changeset 67:5db6fd5ffe17

Merging accidental branch
author Dominic Cleal <dominic@computerkb.co.uk>
date Sat, 21 Nov 2009 12:41:20 +0000
parents de14128c1858 (diff) 680fca147aee (current diff)
children 07129a3240e5
files skillbot.pl
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;