Skip to content
Snippets Groups Projects
Commit 9fd1b35d authored by tamaina's avatar tamaina
Browse files

fix TypeError: Cannot read properties of undefined (reading 'getLogger')

parent 869854ea
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment