Skip to content

Commit d683394

Browse files
authored
Get case error message instead of current message (via #493)
1 parent fed50ce commit d683394

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

allure-robotframework/src/listener/allure_listener.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def stop_test(self, _, attributes, messages):
143143
test_result.labels.append(Label(name=LabelType.HOST, value=self._host))
144144
test_result.labels.append(Label(name=LabelType.THREAD, value=pool_id()))
145145
test_result.labels.extend(allure_tags(attributes))
146-
test_result.statusDetails = StatusDetails(message=self._current_msg or attributes.get('message'),
146+
test_result.statusDetails = StatusDetails(message=attributes.get('message'),
147147
trace=self._current_tb)
148148

149149
if attributes.get('critical') == 'yes':

0 commit comments

Comments
 (0)