Skip to content

Commit 79df5f1

Browse files
committed
Improve message
1 parent 9d3c08f commit 79df5f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/archivist/extract/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export async function extractFromHTML(sourceDocument) {
3737
const selectedDOM = cleanedDOM.select(contentSelectors);
3838

3939
if (!selectedDOM?.children.length) {
40-
throw new Error(`The provided selector "${contentSelectors}" has no match in the web page at '${location}'. This could be due to elements being removed before content selection if "remove" and "select" selectors conflict.`);
40+
throw new Error(`The provided selector "${contentSelectors}" has no match in the web page at '${location}'. This could be due to elements being removed before content selection if "remove" and "select" selectors match the same content.`);
4141
}
4242

4343
const markdownContent = transformFromHTML(selectedDOM);

0 commit comments

Comments
 (0)