git: e9d546ba6e - main - log errors

From: Wolfram Schneider <wosch_at_FreeBSD.org>
Date: Tue, 24 Jan 2023 17:26:54 UTC
The branch main has been updated by wosch:

URL: https://cgit.FreeBSD.org/doc/commit/?id=e9d546ba6e5568a18770f7a4fe12624a248bb884

commit e9d546ba6e5568a18770f7a4fe12624a248bb884
Author:     Wolfram Schneider <wosch@FreeBSD.org>
AuthorDate: 2023-01-24 17:26:36 +0000
Commit:     Wolfram Schneider <wosch@FreeBSD.org>
CommitDate: 2023-01-24 17:26:36 +0000

    log errors
---
 website/content/en/cgi/getmsg.cgi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/website/content/en/cgi/getmsg.cgi b/website/content/en/cgi/getmsg.cgi
index 5c11c9bb6c..272ad44309 100755
--- a/website/content/en/cgi/getmsg.cgi
+++ b/website/content/en/cgi/getmsg.cgi
@@ -106,6 +106,7 @@ sub Fetch
     else
     {
     	$message = "<p>The specified message cannot be accessed.</p>\n";
+	warn "$0: error open '$file' $!\n";
     }
 
     print &short_html_header("FreeBSD Mail Archives");