summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYves Duhem <yves.duhem@mongodb.com>2018-08-23 14:46:01 -0400
committerYves Duhem <yves.duhem@mongodb.com>2018-08-23 14:46:01 -0400
commit8c8dca466b256155b9f4d93858f432998cd6de12 (patch)
tree9e6af488db682723109b92c2ce109f44900a093c
parent86f124990357a80e8ddc2597022939240fb034f7 (diff)
downloadmongo-8c8dca466b256155b9f4d93858f432998cd6de12.tar.gz
SERVER-35100 Do not log exception on dynamic test failure
-rw-r--r--buildscripts/resmokelib/testing/hooks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildscripts/resmokelib/testing/hooks.py b/buildscripts/resmokelib/testing/hooks.py
index f6773c1d682..05a24117232 100644
--- a/buildscripts/resmokelib/testing/hooks.py
+++ b/buildscripts/resmokelib/testing/hooks.py
@@ -172,7 +172,7 @@ class JsCustomBehavior(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: