freeCodeCamp / news

freeCodeCamp's JAMstack Developer News publication. Built with 11ty, Ghost, and help from kind contributors like you.
https://freecodecamp.org/news
BSD 3-Clause "New" or "Revised" License
55 stars 39 forks source link

fix: improve error handling for the original author and translator feature #938

Closed scissorsneedfoodtoo closed 1 month ago

scissorsneedfoodtoo commented 1 month ago

Checklist:

This PR improves error handling and reporting for the original author and translator feature. This should prevent builds from breaking when the URL for fCCOriginalPost is malformed, set to an empty string, and so on.

This will also prevent unhelpful intro HTML from being appended to the beginning of articles in case of the errors mentioned above.