diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2023-12-09 16:46:42 -0700 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2023-12-09 16:46:42 -0700 |
commit | 4de1822fac59b0daf9b741bbf16b386b5c83ec5e (patch) | |
tree | bb0e900b45b9a038b0eecdb7e2fbed20556fa40c | |
parent | 0d6c7aa962e2fb14f29d7ad0c9fc197aedf1d372 (diff) |
add descriptive error
-rw-r--r-- | Sources/gopherHandler.swift | 2 |
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") } |