We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1d3f68 commit 3637c84Copy full SHA for 3637c84
src/SandboxClient/commands.ts
@@ -254,11 +254,18 @@ export class Command {
254
async waitUntilComplete(): Promise<string> {
255
await this.barrier.wait();
256
257
+ const cleaned = this.output
258
+ .join("\n")
259
+ .replace(
260
+ /Error: failed to exec in podman container: exit status 1[\s\S]*$/,
261
+ ""
262
+ );
263
+
264
if (this.status === "FINISHED") {
- return this.output.join("\n");
265
+ return cleaned;
266
}
267
- throw new Error(`Command ERROR: ${this.output.join("\n")}`);
268
+ throw new Error(`Command ERROR: ${cleaned}`);
269
270
271
// TODO: allow for kill signals
0 commit comments