ssafronova (ssafronova) wrote in changelog,
ssafronova
ssafronova
changelog

[livejournal] r18204: LJSUP-7857: Bug collector for LJTimes ad...

Committer: ssafronova
LJSUP-7857: Bug collector for LJTimes admin tools - LJSUP-7859: Unknown bug when add post to SUGGEST block - enhance debug info
U   trunk/cgi-bin/ljprotocol.pl
Modified: trunk/cgi-bin/ljprotocol.pl
===================================================================
--- trunk/cgi-bin/ljprotocol.pl	2011-02-03 11:05:21 UTC (rev 18203)
+++ trunk/cgi-bin/ljprotocol.pl	2011-02-03 11:08:32 UTC (rev 18204)
@@ -196,7 +196,7 @@
     my $error =
       $e{$code} && ref $e{$code}
       ? ( ref $e{$code}->[1] eq 'CODE' ? $e{$code}->[1]->() : $e{$code}->[1] )
-      : "BUG: Unknown error code!";
+      : "BUG: Unknown error code ($code)!";
     $prefix = "Client error: " if $code >= 200;
     $prefix = "Server error: " if $code >= 500;
     my $totalerror = "$prefix$error";
@@ -1159,7 +1159,7 @@
             $sth->execute;
         }
     }
-    
+
     return $res;
 }
 

Tags: livejournal, pl, ssafronova
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments