Skip to content

ElasticPress timeout error is being caught twice #747

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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