Skip to content

Incorrect exception handling  #17

@r614

Description

@r614

The following exception block catches all exceptions without logging anything, making it incredibly difficult to debug the library. For example, bs4 fails to parse the HTML because of an optional lxml parser dependency, but the exception is never raised and the library fails to crawl silently.

)
except:
child_urls = []
page_type = "other"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions