mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-11-27 14:28:53 +09:00
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,
|
||||
) {
|
||||
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({
|
||||
maxRedirections: 0,
|
||||
}, {}, this.logger);
|
||||
|
Loading…
Reference in New Issue
Block a user