The Lambda Lab
/
projects
/
scratchy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f03b019
)
Prevent server leaking error info.
author
plugd
<plugd@thelambdalab.xyz>
Tue, 7 Sep 2021 12:17:31 +0000
(14:17 +0200)
committer
plugd
<plugd@thelambdalab.xyz>
Tue, 7 Sep 2021 12:17:31 +0000
(14:17 +0200)
scratchy.scm
patch
|
blob
|
history
diff --git
a/scratchy.scm
b/scratchy.scm
index
12c7094
..
774b488
100644
(file)
--- 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.")