fix TypeError: Cannot read properties of undefined (reading 'getLogger')
This commit is contained in:
parent
869854eae7
commit
9fd1b35d95
|
@ -39,7 +39,7 @@ export class Resolver {
|
||||||
private recursionLimit = 100,
|
private recursionLimit = 100,
|
||||||
) {
|
) {
|
||||||
this.history = new Set();
|
this.history = new Set();
|
||||||
this.logger = this.loggerService.getLogger('ap-resolve'); // なぜか TypeError: Cannot read properties of undefined (reading 'getLogger') と言われる
|
this.logger = this.loggerService?.getLogger('ap-resolve'); // なぜか TypeError: Cannot read properties of undefined (reading 'getLogger') と言われる
|
||||||
this.undiciFetcher = this.httpRequestService.createFetcher({
|
this.undiciFetcher = this.httpRequestService.createFetcher({
|
||||||
maxRedirections: 0,
|
maxRedirections: 0,
|
||||||
}, {}, this.logger);
|
}, {}, this.logger);
|
||||||
|
|
Loading…
Reference in New Issue