Skip to content

Commit 5dadb3b

Browse files
committed
Merge branch 'fix-assign-exceptio-error-message' into 'main'
Fix assign() exception error message See merge request weblogic-cloud/weblogic-deploy-tooling!1733
2 parents f298cab + 9edfb2c commit 5dadb3b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

core/src/main/python/wlsdeploy/tool/util/wlst_helper.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,9 @@ def assign(self, source_type, source_name, target_type, target_name):
102102
try:
103103
self.__load_global('assign')(source_type, source_name, target_type, target_name)
104104
except (self.__load_global('WLSTException'), offlineWLSTException), e:
105-
raise exception_helper.create_exception(self.__exception_type, 'WLSDPLY-00002', source_type, source_name,
105+
raise exception_helper.create_exception(self.__exception_type, 'WLSDPLY-00008', source_type, source_name,
106106
target_type, target_name, self.__get_exception_mode(e),
107107
_format_exception(e), error=e)
108-
self.__logger.finest('WLSDPLY-00003', source_type, source_name, target_type, target_name,
109-
class_name=self.__class_name, method_name=_method_name)
110108
self.__logger.exiting(class_name=self.__class_name, method_name=_method_name)
111109

112110
def cd(self, path):

core/src/main/resources/oracle/weblogic/deploy/messages/wlsdeploy_rb.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ WLSDPLY-00004=Entering get({0}) method
1212
WLSDPLY-00005=get({0}) in {1} mode failed: {2}
1313
WLSDPLY-00006=Exiting get({0}) method with result {1}
1414
WLSDPLY-00007=Entering set({0}, {1}) at location {2}
15-
WLSDPLY-00008=set({0}, {1}) in {2} mode failed: {3}
15+
WLSDPLY-00008=assign({0}, {1}, {2}, {3}) in {4} mode failed: {5}
1616
WLSDPLY-00009=Exiting set({0}, {1}) method
1717
WLSDPLY-00010=Entering set_with_cmo({0}, {1})
1818
WLSDPLY-00011=Computed set method name is {0}

0 commit comments

Comments
 (0)