You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Add .env file manually because Finder ignores VCS and dot files
243
249
$zip->addFile($this->buildPath('.env'), '.env');
244
250
@@ -306,9 +312,18 @@ private function fetchLatestBundle(): bool
306
312
if ($response->status() === 404) {
307
313
$this->error('Project or bundle not found.');
308
314
} elseif ($response->status() === 500) {
309
-
$this->error('Build failed. Please try again later.');
315
+
$url = $response->json('url');
316
+
317
+
if ($url) {
318
+
$this->error('Build failed. Inspect the build here: '.$url);
319
+
} else {
320
+
$this->error('Build failed. Please try again later.');
321
+
}
310
322
} elseif ($response->status() === 503) {
311
-
$this->warn('Bundle not ready. Please try again in '.now()->addSeconds(intval($response->header('Retry-After')))->diffForHumans(syntax: CarbonInterface::DIFF_ABSOLUTE).'.');
0 commit comments