Change Summary:
Fix leftovers in PreviewApi class
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+153 -213) |
Fix leftovers in PreviewApi class
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+153 -213) |
Fix error handling
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 3 (+338 -207) |
src/Lunr/Spark/Contentful/DeliveryApi.php (Diff revision 3) |
---|
Not really related to this particular review
This will probably need to be done in a separate one as it will change the behavior.
It would be better to return FALSE in case of a failure, just like this is usually done for other processing errors.
Otherwise, there is no way for the calling entity to distinguish between the occurence of an error and the absence of entries.