forked from GNUsocial/gnu-social
better error output in testuser.php
This commit is contained in:
parent
89d72852d5
commit
c4cc7dbe64
@ -80,7 +80,7 @@ function testUser($filter, $user) {
|
|||||||
Spam_score::save($notice, $result);
|
Spam_score::save($notice, $result);
|
||||||
printfv("%s\n", ($result->isSpam) ? "SPAM" : "HAM");
|
printfv("%s\n", ($result->isSpam) ? "SPAM" : "HAM");
|
||||||
} catch (Exception $e) {
|
} 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;
|
$offset += $notice->N;
|
||||||
|
Loading…
Reference in New Issue
Block a user