Skip to content

"error" event not triggered if initial URL is unreachable  #44

@jsthind

Description

@jsthind

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions