Skip to content

Commit ad604dc

Browse files
authored
fix missing error message when filter raise exception (#986)
1 parent 56cb687 commit ad604dc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ def _apply_path_filter(model, script_path):
140140
return True
141141

142142
except Exception, ex:
143-
__logger.severe('WLSDPLY-20022', str(script_path), error=ex, class_name=__class_name, method_name=_method_name)
143+
__logger.severe('WLSDPLY-20022', str(script_path), ex, error=ex, class_name=__class_name,
144+
method_name=_method_name)
144145

145146
return False

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
@@ -1605,7 +1605,7 @@ WLSDPLY-20018=Error applying filter configuration: {0}
16051605
WLSDPLY-20019=Filter entry in {0} has neither ID or path
16061606
WLSDPLY-20020=Filter ID {0} is invalid
16071607
WLSDPLY-20021=Filter path {0} does not exist
1608-
WLSDPLY-20022=Error loading filter path {0}
1608+
WLSDPLY-20022=Error loading filter path {0}: {1}
16091609
WLSDPLY-20023={0} unable to add model file {1} to archive as {2}: {3}
16101610
WLSDPLY-20024={0} failed to persist the model to the archive file {1}: {2}
16111611
WLSDPLY-20025=For {0}, specify the {1} or {2} argument, but not both

0 commit comments

Comments
 (0)