Skip to content

Commit 134e617

Browse files
authored
Merge pull request #10 from NVoronchev/master
Fix loglevel type at exception handling.
2 parents 9950dff + bd49ddc commit 134e617

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytest_reportportal/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def pytest_runtest_makereport(self, item, call):
2323
report = (yield).get_result()
2424

2525
if report.longrepr:
26-
PyTestService.post_log(cgi.escape(report.longreprtext), logging.ERROR)
26+
PyTestService.post_log(cgi.escape(report.longreprtext), loglevel='ERROR')
2727

2828
if report.when == "setup":
2929

0 commit comments

Comments
 (0)