Side effects with pg_search gem #7
Comments
Looks like the If I'm understanding correctly, this particular error isn't due to |
We tried it and it worked but with the current implementation there is no way to see what the error was. |
I'll look into outputting the errors and just skipping single records when there are errors rather than all subsequent records for a given model. |
I made a change to output the rescued errors, so that addresses at least part of your feedback. To your other comment, I don't see a way for record-level operations to fail at this point. Sprig-reap will only do two things at the model-level:
Once they're fetched from the database, it's not obvious to me what might throw an error. If you've experienced what you believe is an error due to a specific record, could you leave a comment with the error so I can investigate? |
When using the gem
pg_search
spring-reap
will fail withSo, in general it would be nice if standard errors would be skipped and in summary will be shown what couldn't be serialized.
Spring creates the
pg_search_documents.yml
although the exception was thrown so it would be also useful if the empty file wouldn't be created or at least removed if it is empty.Thank you for your work! 👍
The text was updated successfully, but these errors were encountered: