autocomplete is producing errors on production #56

Closed
opened 2018-03-17 18:15:56 +01:00 by tiger5226 · 2 comments
tiger5226 commented 2018-03-17 18:15:56 +01:00 (Migrated from github.com)

Try the following query:

https://lighthouse.lbry.io/autocomplete?s=fillerino

A query should not cause an internal server error.

Try the following query: https://lighthouse.lbry.io/autocomplete?s=fillerino A query should not cause an internal server error.
tiger5226 commented 2018-04-08 08:37:51 +02:00 (Migrated from github.com)

This is fixed with PR #61

The internal server error was because we were checking for a null value for a claim. This is already checked and should never be null. The intention is to make sure we can get the right information out which is only available in a stream. However, there is no stream for channel claims, only certificates. So the fix is to check for null on the stream not the value.

This is fixed with PR #61 The internal server error was because we were checking for a null value for a claim. This is already checked and should never be null. The intention is to make sure we can get the right information out which is only available in a stream. However, there is no stream for channel claims, only certificates. So the fix is to check for null on the stream not the value.
filipnyquist commented 2018-04-08 09:26:09 +02:00 (Migrated from github.com)

As @tiger5226 said this is now fixed. Closing for now!

As @tiger5226 said this is now fixed. Closing for now!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lighthouse.js#56
No description provided.