From c69f41e4cec97a19d77e511347ac95dc3d955d34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gast=C3=B3n=20Fournier?= Date: Tue, 6 Feb 2024 16:39:57 +0100 Subject: [PATCH] fix: error logging properly (#6144) --- src/lib/services/proxy-service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/services/proxy-service.ts b/src/lib/services/proxy-service.ts index 99ade1ca91..9a05b944d7 100644 --- a/src/lib/services/proxy-service.ts +++ b/src/lib/services/proxy-service.ts @@ -132,7 +132,7 @@ export class ProxyService { }); client.on(UnleashEvents.Error, (error) => { - this.logger.error(error); + this.logger.error('We found an event error', error); }); await client.start(); @@ -184,7 +184,7 @@ export class ProxyService { frontendApiOrigins: this.config.frontendApiOrigins, }); } catch (error) { - this.logger.debug('Unable to fetch frontend settings'); + this.logger.debug('Unable to fetch frontend settings', error); } return this.cachedFrontendSettings; }