Skip to content

Commit b01c818

Browse files
committed
changed
1 parent 42f0245 commit b01c818

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pytask_vscode/execution.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def pytask_collect_log(session: pytask.Session, reports: list[pytask.CollectionR
99
result = [{'name' : task.short_name, 'path' : str(task.path)} for task in tasks]
1010
res = requests.post('http://localhost:6000/pytask', json={"exitcode" : session.exit_code, "tasks": result}, timeout=0.1)
1111
except Exception as e:
12-
pytask.console.print_exception()
12+
pass
1313

1414

1515
@pytask.hookimpl(tryfirst=True)
@@ -19,4 +19,4 @@ def pytask_execute_task_log_end(session: pytask.Session, report: pytask.Executio
1919
result = {'type': 'task', 'name' : report.task.short_name, 'outcome' : str(report.outcome)}
2020
res = requests.post('http://localhost:6000/pytask', json=result)
2121
except Exception as e:
22-
pytask.console.print_exception()
22+
pass

0 commit comments

Comments
 (0)