We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 616f7b1 + 6bdf7a8 commit f2185fdCopy full SHA for f2185fd
2 files changed
composer.json
@@ -30,7 +30,7 @@
30
"ext-pdo" : "*",
31
"php" : ">=5.6",
32
"g4/cron" : "*",
33
- "g4/log" : "1.13.*"
+ "g4/log" : "1.14.*"
34
},
35
"require-dev": {
36
"phpunit/phpunit" : "5.*",
src/Tasker2/Runner.php
@@ -98,9 +98,12 @@ public function execute()
98
99
$this->taskDomain->setStartedCount($this->taskDomain->getStartedCount() + 1);
100
101
+ ob_start();
102
$task->execute();
103
+ $this->taskerExecution->setOutput(ob_get_flush());
104
$this->logNewRelicEnd();
105
} catch (\Exception $e) {
106
107
$this->handleException($e);
108
throw $e;
109
}
0 commit comments