aboutsummaryrefslogtreecommitdiff
path: root/Sources/gopherHandler.swift
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2023-12-09 16:46:42 -0700
committerNavan Chauhan <navanchauhan@gmail.com>2023-12-09 16:46:42 -0700
commit4de1822fac59b0daf9b741bbf16b386b5c83ec5e (patch)
treebb0e900b45b9a038b0eecdb7e2fbed20556fa40c /Sources/gopherHandler.swift
parent0d6c7aa962e2fb14f29d7ad0c9fc197aedf1d372 (diff)
add descriptive error
Diffstat (limited to 'Sources/gopherHandler.swift')
-rw-r--r--Sources/gopherHandler.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sources/gopherHandler.swift b/Sources/gopherHandler.swift
index 1c40091..1961a8f 100644
--- a/Sources/gopherHandler.swift
+++ b/Sources/gopherHandler.swift
@@ -94,7 +94,7 @@ final class GopherHandler: ChannelInboundHandler {
}
} else {
- logger.error("Error reading directory: \(path.path) Error: \(error)")
+ logger.error("Error reading directory: \(path.path) Directory does not exist.")
return .string("3Error reading file...\terror.host\t1\r\n")
}