fix TypeError: Cannot read properties of undefined (reading 'getLogger')
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user