From 76c64475be3f02e26486d0f590b8049b2c0a73db Mon Sep 17 00:00:00 2001 From: Adam Fowler Date: Sat, 25 May 2024 09:15:30 +0100 Subject: [PATCH] Log unrecognised errors --- Sources/Hummingbird/Application.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/Hummingbird/Application.swift b/Sources/Hummingbird/Application.swift index 338aac50c..f57dbc32a 100644 --- a/Sources/Hummingbird/Application.swift +++ b/Sources/Hummingbird/Application.swift @@ -115,6 +115,7 @@ extension ApplicationProtocol { response = httpError.response(allocator: channel.allocator) default: // this error has not been recognised + context.logger.debug("Error: \(error)") response = Response( status: .internalServerError, body: .init()