Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

refactor(environment-variables): remove debug logging from bulk submit handling for cleaner code

Andras Bacsai9480fc2b2f74
diff --git a/app/Livewire/Project/Shared/EnvironmentVariable/All.php b/app/Livewire/Project/Shared/EnvironmentVariable/All.php
index 699dca1874..3b6d8b9374 100644
--- a/app/Livewire/Project/Shared/EnvironmentVariable/All.php
+++ b/app/Livewire/Project/Shared/EnvironmentVariable/All.php
@@ -178,16 +178,6 @@ class All extends Component
}
}
- // Debug information
- \Log::info('Environment variables update status', [
- 'deletedCount' => $deletedCount,
- 'updatedCount' => $updatedCount,
- 'deletedPreviewCount' => $deletedPreviewCount ?? 0,
- 'updatedPreviewCount' => $updatedPreviewCount ?? 0,
- 'changesMade' => $changesMade,
- 'errorOccurred' => $errorOccurred,
- ]);
-
// Only show success message if changes were actually made and no errors occurred
if ($changesMade && ! $errorOccurred) {
$this->dispatch('success', 'Environment variables updated.');