humanmade / humanmade/altis-cloud

ElasticPress timeout error is being caught twice

Open
#747 1 comment 0 reactions 0 assignees View on GitHub
should have
Dominant language
PHP
Stars
9
Forks
2
Avg merge
6d 1h
Merged PRs (30d)
23

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.