Centreon is a network, system and application monitoring tool. Centreon is the only AIOps Platform Providing Holistic Visibility to Complex IT Workflows from Cloud to Edge.
Handle following error :
[15-Sep-2022 10:31:20 GMT] CRITICAL: Uncaught Error: ldap_get_entries(): Argument #2 ($result) must be of type resource, bool given {"exception":"[object] (TypeError(code: 0): ldap_get_entries(): Argument #2 ($result) must be of type resource, bool given at /usr/share/centreon/www/class/centreonLDAP.class.php:326)"}
Add debug to avoid to be blind when errors happen
Fixes MON-15115
Type of change
[x] Patch fixing an issue (non-breaking change)
[ ] New functionality (non-breaking change)
[ ] Breaking change (patch or feature) that might cause side effects breaking part of the Software
Description
add debug and avoid ldap failures
Handle following error :
[15-Sep-2022 10:31:20 GMT] CRITICAL: Uncaught Error: ldap_get_entries(): Argument #2 ($result) must be of type resource, bool given {"exception":"[object] (TypeError(code: 0): ldap_get_entries(): Argument #2 ($result) must be of type resource, bool given at /usr/share/centreon/www/class/centreonLDAP.class.php:326)"}
Add debug to avoid to be blind when errors happen
Fixes MON-15115
Type of change
Target serie