From 43e8699e337dc27a68b9ff8a1b7c667ce1089a59 Mon Sep 17 00:00:00 2001 From: Henry Grover Date: Wed, 14 Feb 2018 19:42:17 -0500 Subject: [PATCH] update_ldap_entry_attributes: additional error output when determining LDAP operations --- .../Methods.class/__methods__/update_ldap_entry_attributes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Automate/RedHatConsulting_LDAP/Integration/LDAP/StateMachines/Methods.class/__methods__/update_ldap_entry_attributes.rb b/Automate/RedHatConsulting_LDAP/Integration/LDAP/StateMachines/Methods.class/__methods__/update_ldap_entry_attributes.rb index b5782a7..3940df1 100644 --- a/Automate/RedHatConsulting_LDAP/Integration/LDAP/StateMachines/Methods.class/__methods__/update_ldap_entry_attributes.rb +++ b/Automate/RedHatConsulting_LDAP/Integration/LDAP/StateMachines/Methods.class/__methods__/update_ldap_entry_attributes.rb @@ -140,7 +140,7 @@ def get_param(param) ldap_attribute_values = ldap_attribute_values.strip if ldap_attribute_values.is_a?(String) ldap_attribute_operations.push([:replace, ldap_attribute, ldap_attribute_values]) else - error("Could not calculate LDAP operation for LDAP entry attribute (#{ldap_attribute}). This should never happen.") + error("Could not calculate LDAP operation for LDAP entry attribute (#{ldap_attribute}). This should never happen. { ldap_attribute_values => '#{ldap_attribute_values}', ldap_entry[ldap_attribute] => '#{ldap_entry[ldap_attribute]}' }") end end $evm.log(:info, "ldap_attribute_operations => #{ldap_attribute_operations}") if @DEBUG