Skip to content

Improve exception handling information in ScanTarget #12

@ic0ns

Description

@ic0ns

Description

There are two related TODOs in the ScanTarget class that need to be addressed:

  1. Line 84: TODO: "in the current design we discard the exception info; maybe we want to keep this in the future"

  2. Line 91: TODO: "similar to the unknownHostException, we do not keep any information as to why the target is blocklisted it may be nice to distinguish cases where the domain is blocked or where the IP is blocked"

Both TODOs involve improving how exception information is handled and stored, particularly for diagnostic purposes. We should enhance the implementation to retain more information about exceptions and blocklisting reasons.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions