Github user sebbASF commented on the issue:

    https://github.com/apache/incubator-ponymail/issues/162
  
    Further checks show that some code does not check if the returned doc is 
valid after calling elastic.get()
    
    A better solution would be to add an optional get parameter; if specified 
then it will return for 404. Then only code that is expecting a 404 will ever 
see one.
    
    The alternative is to always use pcall, but that catches all errors.
    It would be better to let these get reported, rather than assuming there 
has been a 404.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to