You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2006/12/08 16:00:22 UTC

svn commit: r484625 - /spamassassin/trunk/build/mkupdates/listpromotable

Author: jm
Date: Fri Dec  8 07:00:22 2006
New Revision: 484625

URL: http://svn.apache.org/viewvc?view=rev&rev=484625
Log:
more debugs for failure to get list of promotable rules

Modified:
    spamassassin/trunk/build/mkupdates/listpromotable

Modified: spamassassin/trunk/build/mkupdates/listpromotable
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/mkupdates/listpromotable?view=diff&rev=484625&r1=484624&r2=484625
==============================================================================
--- spamassassin/trunk/build/mkupdates/listpromotable (original)
+++ spamassassin/trunk/build/mkupdates/listpromotable Fri Dec  8 07:00:22 2006
@@ -25,8 +25,9 @@
 my $doc;
 my $cache = 'ruleqa.cache';
 
+my $url;
 if (!$FROM_CACHE || !-f $cache) {
-  my $url = $cgi_url."last-night?xml=1";
+  $url = $cgi_url."last-night?xml=1";
   $doc = get ($url);
   if (!$doc) {
     die "HTTP get failed: $doc\n";
@@ -91,7 +92,7 @@
 }
 
 if (!scalar keys %$plist) {
-  die "no rules found?\n$doc\n";
+  die "no rules found?\nURL: $url\ngot:\n$doc\n";
 }
 
 ###########################################################################