mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Fix build log stream parsing warning (#12498)
This commit is contained in:
1 parent
82ef70565d
commit
4a7d47d2cc
1 file changed
+4
@@ -809,6 +809,10 @@ class Builds extends Action
|
||||
$streamLog = \str_replace('{APPWRITE_LINEBREAK_PLACEHOLDER}', "\n", $streamLog);
|
||||
$streamParts = \explode(' ', $streamLog, 2);
|
||||
|
||||
if (! isset($streamParts[1])) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// TODO: use part[0] as timestamp when switching to dbForLogs for build logs
|
||||
$currentLogs .= $streamParts[1];
|
||||
|
||||
|
||||
Reference in new issue
Block a user