Change: Inform user when writing to ERROR.dat.

Signed-off-by: Thomas Hochstein <thh@inter.net>
This commit is contained in:
Thomas Hochstein 2010-02-21 19:14:15 +01:00
parent c2f107a55e
commit 114be30251

View file

@ -239,7 +239,7 @@ sub post {
if (!$NewsConnection->ok()) {
open FH, ">>ERROR.dat";
print FH "\nPosting failed! Response from news server:\n";
print FH "\nPosting failed! Saving to ERROR.dat. Response from news server:\n";
print FH $NewsConnection->code();
print FH $NewsConnection->message();
print FH "\n";