summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorYves Duhem <yves.duhem@mongodb.com>2018-08-23 13:20:52 -0400
committerYves Duhem <yves.duhem@mongodb.com>2018-08-23 13:20:52 -0400
commit14681d89a9093802a8b29455c8a361ccd36b42c9 (patch)
tree24ef4a7f9286123dd23261a49adb1874d4f98c68 /buildscripts
parent96f029ccab8b042db29f01671c03da86ea22b116 (diff)
downloadmongo-14681d89a9093802a8b29455c8a361ccd36b42c9.tar.gz
SERVER-35100 Do not log exception on dynamic test failure
Diffstat (limited to 'buildscripts')
-rw-r--r--buildscripts/resmokelib/testing/hooks/jsfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildscripts/resmokelib/testing/hooks/jsfile.py b/buildscripts/resmokelib/testing/hooks/jsfile.py
index 47da3bde623..7bf3635844b 100644
--- a/buildscripts/resmokelib/testing/hooks/jsfile.py
+++ b/buildscripts/resmokelib/testing/hooks/jsfile.py
@@ -57,7 +57,7 @@ class JsCustomBehavior(interface.CustomBehavior):
test_report.addFailure(self.hook_test_case, sys.exc_info())
raise errors.StopExecution(err.args[0])
except self.hook_test_case.failureException as err:
- self.hook_test_case.logger.exception("{0} failed".format(description))
+ self.hook_test_case.logger.error("{0} failed".format(description))
test_report.addFailure(self.hook_test_case, sys.exc_info())
raise errors.StopExecution(err.args[0])
else: