From c4cc7dbe64bcb021c2cf082039e826eef617b0af Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 19 Mar 2012 00:55:51 -0400 Subject: [PATCH] better error output in testuser.php --- scripts/testuser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/testuser.php b/scripts/testuser.php index f28a929c46..357e04a7c2 100644 --- a/scripts/testuser.php +++ b/scripts/testuser.php @@ -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; -- 2.39.5