mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
fix: error logging properly (#6144)
This commit is contained in:
parent
b45f7be680
commit
c69f41e4ce
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user