--- loncom/interface/lonwhatsnew.pm 2005/12/20 15:56:38 1.40 +++ loncom/interface/lonwhatsnew.pm 2005/12/22 02:38:44 1.41 @@ -1,5 +1,5 @@ # -# $Id: lonwhatsnew.pm,v 1.40 2005/12/20 15:56:38 raeburn Exp $ +# $Id: lonwhatsnew.pm,v 1.41 2005/12/22 02:38:44 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1401,9 +1401,9 @@ sub get_display_settings { my ($tmp) = keys(%settings); if ($tmp=~ /^(con_lost|error|no_such_host)/i) { %settings = (); - unless ($tmp eq 'error: 2 tie(GDBM) Failed while attempting dump') { - &logthis('Error retrieving whatsnew settings: '.$tmp.' for '. - $uname.':'.$udom.' for course: '.$cid); + unless ($tmp =~ /^error: 2 /) { + &Apache::lonnet::logthis('Error retrieving whatsnew settings: '. + $tmp.' for '.$uname.':'.$udom.' for course: '.$cid); } } return %settings;