better error output in testuser.php

This commit is contained in:
Evan Prodromou 2012-03-19 00:55:51 -04:00
parent 89d72852d5
commit c4cc7dbe64
1 changed files with 1 additions and 1 deletions

View 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;