diff --git a/src/Appwrite/Platform/Workers/Certificates.php b/src/Appwrite/Platform/Workers/Certificates.php index 093e6fda5a..2490d64bac 100644 --- a/src/Appwrite/Platform/Workers/Certificates.php +++ b/src/Appwrite/Platform/Workers/Certificates.php @@ -171,10 +171,7 @@ class Certificates extends Action $certificate->setAttribute('issueDate', DateTime::now()); $success = true; } catch (Throwable $e) { - $logs = $e->getMessage(); - - // Set exception as log in certificate document - $certificate->setAttribute('logs', \mb_strcut($logs, 0, 1000000));// Limit to 1MB + $certificate->setAttribute('logs', 'Failed to create custom domain'); // Increase attempts count $attempts = $certificate->getAttribute('attempts', 0) + 1;