Skip to content

ElasticPress timeout error is being caught twice #747

@owaincuvelier

Description

@owaincuvelier

If an elasticsearch request times out, that error is correctly being caught and output to the PHP logs, but its being caught in two different places, causing noise in PHP logs.

  1. caught in https://github.com/humanmade/altis-cloud/blob/master/inc/namespace.php#L385
  2. also caught in https://github.com/humanmade/altis-enhanced-search/blob/master/inc/namespace.php#L388

If we can reduce the noise in the PHP logs that will make parsing errors easier for developers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    should haveShould be done, medium priority for now

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions