mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Fix python failing logs
This commit is contained in:
@@ -433,6 +433,8 @@ class Builds extends Action
|
||||
throw new \Exception('Build not found', 404);
|
||||
}
|
||||
|
||||
$logs = \mb_substr($logs, 0, \mb_strlen($logs, 'UTF-8') - 1, 'UTF-8'); // Get only valid UTF8 part - removes leftover half-multibytes causing SQL errors
|
||||
|
||||
$build = $build->setAttribute('logs', $build->getAttribute('logs', '') . $logs);
|
||||
$build = $dbForProject->updateDocument('builds', $build->getId(), $build);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user