feat(TestSubstep): prettify error body

This commit is contained in:
Ali BARIN
2022-09-28 09:38:18 +02:00
parent 8e60f3dfd7
commit e5bd4228b2
3 changed files with 16 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ const executeFlow = async (
});
if (executionStep.errorDetails) {
throw new Error(JSON.stringify(executionStep.errorDetails, null, 2));
throw new Error(JSON.stringify(executionStep.errorDetails));
}
return { data: executionStep.dataOut, step: untilStep };