Do you want to request a feature or report a bug?
bug
What is the current behavior?
Passing an unreachable domain (For example http://sdfdfdteterter.com ) does not trigger the "error" event.
If the current behavior is a bug, please provide the steps to reproduce.
const generator = SitemapGenerator("http://sdfdfdteterter.com"); generator.start();
What is the expected behavior?
"error" event should be triggered if the initial URL is unreachable.