@@ -147,11 +147,13 @@ def set(self, attribute_name, attribute_value, masked=False):
147147 try :
148148 wlst_helper .set (attribute_name , attribute_value )
149149 except PyWLSTException , pwe :
150+ path = self .get_pwd ()
150151 log_value = attribute_value
151152 if masked :
152153 log_value = '<masked>'
153- ex = exception_helper .create_exception (self .__exception_type , 'WLSDPLY-19102' , attribute_name , log_value ,
154- pwe .getLocalizedMessage (), error = pwe )
154+
155+ ex = exception_helper .create_exception (self .__exception_type , 'WLSDPLY-19102' , attribute_name , path ,
156+ log_value , pwe .getLocalizedMessage (), error = pwe )
155157 self .__logger .throwing (ex , class_name = self .__class_name , method_name = _method_name )
156158 raise ex
157159 return
@@ -169,11 +171,13 @@ def set_with_cmo(self, attribute_name, attribute_value, masked=False):
169171 try :
170172 wlst_helper .set_with_cmo (attribute_name , attribute_value , masked = masked )
171173 except PyWLSTException , pwe :
174+ path = self .get_pwd ()
172175 log_value = attribute_value
173176 if masked :
174177 log_value = '<masked>'
175- ex = exception_helper .create_exception (self .__exception_type , 'WLSDPLY-19136' , attribute_name , log_value ,
176- pwe .getLocalizedMessage (), error = pwe )
178+
179+ ex = exception_helper .create_exception (self .__exception_type , 'WLSDPLY-19136' , attribute_name , path ,
180+ log_value , pwe .getLocalizedMessage (), error = pwe )
177181 self .__logger .throwing (ex , class_name = self .__class_name , method_name = _method_name )
178182 raise ex
179183 return
0 commit comments