Skip to content

Commit

Permalink
fix: error logging properly (#6144)
Browse files Browse the repository at this point in the history
  • Loading branch information
gastonfournier authored Feb 6, 2024
1 parent b45f7be commit c69f41e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/services/proxy-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit c69f41e

Please sign in to comment.