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:
@@ -527,7 +527,9 @@ function attachOnFinishReleaseEvents(
|
||||
)
|
||||
.join(EOL + separator + EOL)
|
||||
|
||||
logger.error(allWorkflowErrors)
|
||||
if (allWorkflowErrors) {
|
||||
logger.error(allWorkflowErrors)
|
||||
}
|
||||
}
|
||||
|
||||
await onFinish?.(args)
|
||||
|
||||
Reference in New Issue
Block a user