X-Git-Url: https://code.th-h.de/?p=usenet%2Fyapfaq.git;a=blobdiff_plain;f=yapfaq.pl;h=a50c08a231050f79dfca9a48e3fda3290690d8c8;hp=06734ff7c104c48187ca712d86892c88b48f5d7f;hb=1ee30cc37f38c730d35f8079cdfcc64d1630a22d;hpb=7aaba0e0ae35ad6efe161bbe0047bbc18ac227ac diff --git a/yapfaq.pl b/yapfaq.pl index 06734ff..a50c08a 100644 --- a/yapfaq.pl +++ b/yapfaq.pl @@ -79,7 +79,7 @@ foreach (@Config) { } close FH; } else { - warn "Couldn't open $File.cfg: $!"; + warn "Couldn't open $File.cfg: $!\n"; } $SupersedeMID = "" unless $Supersede; @@ -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";