Change: Inform user when writing to ERROR.dat.
Signed-off-by: Thomas Hochstein <thh@inter.net>
This commit is contained in:
		
							parent
							
								
									c2f107a55e
								
							
						
					
					
						commit
						114be30251
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -239,7 +239,7 @@ sub post {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if (!$NewsConnection->ok()) {
 | 
					  if (!$NewsConnection->ok()) {
 | 
				
			||||||
    open FH, ">>ERROR.dat";
 | 
					    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->code();
 | 
				
			||||||
    print FH $NewsConnection->message();
 | 
					    print FH $NewsConnection->message();
 | 
				
			||||||
    print FH "\n";
 | 
					    print FH "\n";
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue