diff --git a/client/src/commands/run.ts b/client/src/commands/run.ts index 8523d203d..cbfccf57d 100644 --- a/client/src/commands/run.ts +++ b/client/src/commands/run.ts @@ -244,6 +244,7 @@ const isErrorRep = (err: unknown): err is ErrorRepresentation => { typeof err === "object" && "message" in err && "details" in err && + Array.isArray(err.details) && "errorCode" in err ) { return true;