Prevent server leaking error info.
authorplugd <plugd@thelambdalab.xyz>
Tue, 7 Sep 2021 12:17:31 +0000 (14:17 +0200)
committerplugd <plugd@thelambdalab.xyz>
Tue, 7 Sep 2021 12:17:31 +0000 (14:17 +0200)
scratchy.scm

index 12c7094..774b488 100644 (file)
@@ -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.")