Merge pull request #539 from jaison-x/pr2

fix: this.localProxy.proxy can be undefined
This commit is contained in:
Davidson Gomes
2024-04-17 12:08:54 -03:00
committed by GitHub

View File

@@ -583,7 +583,7 @@ export class WAStartupService {
this.logger.verbose(`Proxy enabled: ${this.localProxy.enabled}`);
this.localProxy.proxy = data?.proxy;
this.logger.verbose(`Proxy proxy: ${this.localProxy.proxy.host}`);
this.logger.verbose(`Proxy proxy: ${this.localProxy.proxy?.host}`);
this.logger.verbose('Proxy loaded');
}