Skip to content

Commit

Permalink
add error node on errored subprocess close (#24597)
Browse files Browse the repository at this point in the history
  • Loading branch information
eleanorjboyd authored Dec 13, 2024
1 parent 9466391 commit 2c801b8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ export class PytestTestDiscoveryAdapter implements ITestDiscoveryAdapter {
traceError(
`Subprocess exited unsuccessfully with exit code ${code} and signal ${signal} on workspace ${uri.fsPath}`,
);
this.resultResolver?.resolveDiscovery(createDiscoveryErrorPayload(code, signal, cwd));
}
deferredTillExecClose.resolve();
});
Expand Down

0 comments on commit 2c801b8

Please sign in to comment.