]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
better error output in testuser.php
authorEvan Prodromou <evan@status.net>
Mon, 19 Mar 2012 04:55:51 +0000 (00:55 -0400)
committerEvan Prodromou <evan@status.net>
Mon, 19 Mar 2012 04:55:51 +0000 (00:55 -0400)
scripts/testuser.php

index f28a929c46e2c42c0bb7fcc1d5e504f7e7cbd949..357e04a7c2cb2d8dab0d0d1a6d28014148f13100 100644 (file)
@@ -80,7 +80,7 @@ function testUser($filter, $user) {
                 Spam_score::save($notice, $result);
                 printfv("%s\n", ($result->isSpam) ? "SPAM" : "HAM");
             } catch (Exception $e) {
-                printfnq("ERROR testing notice %d\n: %s", $notice->id, $e->getMessage());
+                printfnq("ERROR testing notice %d: %s\n", $notice->id, $e->getMessage());
             }
         }
         $offset += $notice->N;