Only expose log in post-step hook
The log has step ID and workflow run ID in case an integration needs to retrieve them. [MAILPOET-4463]
This commit is contained in:
committed by
Jan Jakeš
parent
6f8edfaec4
commit
57cf547a8a
@@ -130,7 +130,7 @@ class StepHandler {
|
||||
throw $e;
|
||||
} finally {
|
||||
try {
|
||||
$this->hooks->doWorkflowStepAfterRun($step, $log);
|
||||
$this->hooks->doWorkflowStepAfterRun($log);
|
||||
} catch (Exception $e) {
|
||||
$log->addError($e);
|
||||
}
|
||||
|
Reference in New Issue
Block a user