Skip to content

Conversation

@ChiuAlfredo
Copy link

[2025-07-05 04:08:03 UTC] => [ERROR] => Newsletter: Error: Invalid URL found: #/portal/, TypeError [ERR_INVALID_URL]: Invalid URL
at new NodeError (node:internal/errors:405:5)
at new URL (node:internal/url:676:13)
at Element.<anonymous> (file:///usr/src/app/utils/newsletter.js:275:27)
at LoadedCheerio.each (file:///usr/src/app/node_modules/cheerio/lib/esm/api/traversing.js:461:26)
at #injectUrlTracking (file:///usr/src/app/utils/newsletter.js:259:45)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Newsletter.renderTemplate (file:///usr/src/app/utils/newsletter.js:162:19)
at async Newsletter.send (file:///usr/src/app/utils/newsletter.js:39:13).
at Element.<anonymous> (file:///usr/src/app/utils/newsletter.js:279:21)
at LoadedCheerio.each (file:///usr/src/app/node_modules/cheerio/lib/esm/api/traversing.js:461:26)
at #injectUrlTracking (file:///usr/src/app/utils/newsletter.js:259:45)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Newsletter.renderTemplate (file:///usr/src/app/utils/newsletter.js:162:19)
at async Newsletter.send (file:///usr/src/app/utils/newsletter.js:39:13)

to skip http/https to deal this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant