User:Bosco/Unsigned helper.js: Difference between revisions
From Test Wiki
Content deleted Content added
reduce debug logging |
findRevisionWhenTextAdded: add warning log message |
||
| Line 374: | Line 374: | ||
const candidateFullRevision = await this.#contentLoader.loadContent(candidateIndex); |
const candidateFullRevision = await this.#contentLoader.loadContent(candidateIndex); |
||
if (candidateFullRevision?.slots?.main?.content == undefined) { |
if (candidateFullRevision?.slots?.main?.content == undefined) { |
||
warn('testFunc: Cannot load the content for candidateIndex = ' + candidateIndex); |
|||
return undefined; |
return undefined; |
||
} |
} |
||