humanmade / humanmade/altis-cloud
ElasticPress timeout error is being caught twice
Open
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.