Update plugins/catalog-backend-module-ldap/src/ldap/client.ts

Co-authored-by: Jessica He <jessicahe4741@gmail.com>
Signed-off-by: Ganiev Shamil <ganiev@pm.me>
This commit is contained in:
Ganiev Shamil
2025-08-19 18:02:15 +03:00
committed by Shamil Ganiev
parent 3d5a12a104
commit 69cf06bf1f
@@ -170,7 +170,7 @@ export class LdapClient {
const schemaHasGoogleAttributes = this.checkGoogleSchema(rootDSE);
return schemaHasGoogleAttributes;
} catch (error) {
throw error('Schema check failed:', error);
throw new ForwardedError('Schema check failed', error);
}
}