Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/Commands/SheafInitCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,11 @@ protected function subscribeToNewsletter()
return;
}
try {
new ComponentHttpClient()->subscribeUserToNewsletter($email);
$this->info("✓ Thanks for subscribing! We'll keep you updated with new components and features.");
$httpClient = new ComponentHttpClient();
$httpClient->subscribeUserToNewsletter($email);
$this->info("Thanks for subscribing! We will keep you updated with new components and features.");
} catch (\Throwable $th) {
$this->warn("We couldn't subscribe your email right now, but you can always subscribe later at https://sheafui.dev");
$this->warn("We could not subscribe your email right now, but you can always subscribe later at https://sheafui.dev");
}
}

Expand Down