Skip to content

Support error handling for browsenodelookup#43

Open
JonathanJonathanJonathan wants to merge 2 commits intot3chnoboy:masterfrom
JonathanJonathanJonathan:master
Open

Support error handling for browsenodelookup#43
JonathanJonathanJonathan wants to merge 2 commits intot3chnoboy:masterfrom
JonathanJonathanJonathan:master

Conversation

@JonathanJonathanJonathan

I was trying to do a browseNodeLookup with incorrect response groups; no error was returned. Added this and also included a error callback for unknown responses.

amazon_client.browseNodeLookup({ browseNodeId: 12345, responseGroup: ['TopSellers', 'Images', 'ItemAttributes', 'OfferSummary'], domain: api_domain }, function(err, products) { if (err) { callback(err, null); } else { return callback(null, products); } });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant