From 0ccf267569fd0b73042b64c3bd5b6a123185ece1 Mon Sep 17 00:00:00 2001
From: Alexander Timmermann <alexander.timmermann@holi.social>
Date: Mon, 24 Mar 2025 14:07:55 +0100
Subject: [PATCH] debug: log full response of GeoAPI if not json

---
 app/server.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/server.ts b/app/server.ts
index fd63a60..e35c5f2 100644
--- a/app/server.ts
+++ b/app/server.ts
@@ -124,7 +124,7 @@ type UseCase = { execute: (input: any) => any }
 type ValidateInputFn = (params: any) => any
 
 export const startServer = (config: ServerConfig): Deno.HttpServer<Deno.NetAddr> => {
-  const geoApi = new GeoApiClient(config.geoAPIEndpointUrl)
+  const geoApi = new GeoApiClient(config.geoAPIEndpointUrl, logger)
   const jasdEventsGateway = new JasdGateway(logger)
 
   const useCases = {
-- 
GitLab