fix: Workflow always print "error:" even if there are none (#8978)
Fix issue [https://github.com/medusajs/medusa/issues/8976](https://github.com/medusajs/medusa/issues/8976)
This commit is contained in:
1 parent
af4f8811bd
commit
91f17fb176
1 file changed
+2
@@ -527,8 +527,10 @@ function attachOnFinishReleaseEvents(
|
||||
)
|
||||
.join(EOL + separator + EOL)
|
||||
|
||||
if (allWorkflowErrors) {
|
||||
logger.error(allWorkflowErrors)
|
||||
}
|
||||
}
|
||||
|
||||
await onFinish?.(args)
|
||||
|
||||
|
||||
Reference in new issue
Block a user