Skip to content

When searching a product not in the system should throw a useful error. #13

@pedelman

Description

@pedelman

Currently when looking up a product upc or a text string in the product search API, when the product isn't found, you get an error like:

search_results.rb:20:in `initialize': undefined method `each' for nil:NilClass (NoMethodError)

Would be nice to handle this case in a more graceful manner.

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