mirror of
https://github.com/appwrite/appwrite
synced 2026-05-15 04:59:01 +00:00
Fix missing build logs
This commit is contained in:
parent
21ece879b2
commit
8e3fbfc00d
1 changed files with 2 additions and 2 deletions
|
|
@ -442,8 +442,8 @@ class Builds extends Action
|
|||
$executor->getLogs(
|
||||
deploymentId: $deployment->getId(),
|
||||
projectId: $project->getId(),
|
||||
callback: function ($logs) use (&$response, &$build, $dbForProject, $allEvents, $project) {
|
||||
if ($response === null) {
|
||||
callback: function ($logs) use (&$response, &$err, &$build, $dbForProject, $allEvents, $project) {
|
||||
if ($response === null && $err === null) {
|
||||
$build = $dbForProject->getDocument('builds', $build->getId());
|
||||
|
||||
if ($build->isEmpty()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue