You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This worked well us until we started getting EOF errors from the client.all call. After a little bit of digging around, I discovered that it was caused by a broken link in a single document:
For context, this was a Content Relationship field linking to a now-archived internal document.
Would it be possible to update this Gem to handle this a little more gracefully, like maybe adding a nested error field for the offending document or even just returning nil for its body? The alternative solution that we have is just querying documents one by one and skipping the document when we run into the EOFError, which is possible but not preferable.
Thanks in advance! I'm also happy to add more details if needed.
The text was updated successfully, but these errors were encountered:
Hey, everyone!
My team uses the following code to fetch all documents in our Prismic repository:
This worked well us until we started getting EOF errors from the
client.all
call. After a little bit of digging around, I discovered that it was caused by a broken link in a single document:For context, this was a Content Relationship field linking to a now-archived internal document.
Would it be possible to update this Gem to handle this a little more gracefully, like maybe adding a nested
error
field for the offending document or even just returningnil
for its body? The alternative solution that we have is just querying documents one by one and skipping the document when we run into theEOFError
, which is possible but not preferable.Thanks in advance! I'm also happy to add more details if needed.
The text was updated successfully, but these errors were encountered: