From: plugd Date: Tue, 7 Sep 2021 12:17:31 +0000 (+0200) Subject: Prevent server leaking error info. X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=commitdiff_plain;h=aba4286b56077e610c6c8a4f7d6b6652c52bc1b2;p=scratchy.git Prevent server leaking error info. --- diff --git a/scratchy.scm b/scratchy.scm index 12c7094..774b488 100644 --- a/scratchy.scm +++ b/scratchy.scm @@ -76,8 +76,8 @@ (serve-selector selector config))) (print "... served selector '" selector "'. Closing connection.")) (o (exn) - (print-error-message o out-port) (print-error-message o) + (print "Invalid selector.") (print "Error while attempting to serve selector " selector ".")))) (begin (print "Connection from blacklisted IP. Closing.")