Skip to content

Commit

Permalink
add error node on errored subprocess close
Browse files Browse the repository at this point in the history
  • Loading branch information
eleanorjboyd committed Dec 12, 2024
1 parent 32512b1 commit 737acd3
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 737acd3

Please sign in to comment.