@@ -147,11 +147,13 @@ def set(self, attribute_name, attribute_value, masked=False):
147
147
try :
148
148
wlst_helper .set (attribute_name , attribute_value )
149
149
except PyWLSTException , pwe :
150
+ path = self .get_pwd ()
150
151
log_value = attribute_value
151
152
if masked :
152
153
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 )
155
157
self .__logger .throwing (ex , class_name = self .__class_name , method_name = _method_name )
156
158
raise ex
157
159
return
@@ -169,11 +171,13 @@ def set_with_cmo(self, attribute_name, attribute_value, masked=False):
169
171
try :
170
172
wlst_helper .set_with_cmo (attribute_name , attribute_value , masked = masked )
171
173
except PyWLSTException , pwe :
174
+ path = self .get_pwd ()
172
175
log_value = attribute_value
173
176
if masked :
174
177
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 )
177
181
self .__logger .throwing (ex , class_name = self .__class_name , method_name = _method_name )
178
182
raise ex
179
183
return
0 commit comments