diff --git a/plugins/catalog-backend-module-ldap/src/ldap/client.ts b/plugins/catalog-backend-module-ldap/src/ldap/client.ts index 362d6c2860..096a501b16 100644 --- a/plugins/catalog-backend-module-ldap/src/ldap/client.ts +++ b/plugins/catalog-backend-module-ldap/src/ldap/client.ts @@ -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); } }