Skip to content

Align modules on error behavior #78

@phillip-stephens

Description

@phillip-stephens

Currently if an error is encountered (or even if the data source just doesn't have any info for a given IP), some modules return nil and some return an empty ModuleResult struct.

IMO, we should coalesce around a single approach that we define in the README, and returning nil (parsed into null by the json encoder) seems ideal.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions