mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-16 20:49:28 +00:00
oh wow, it is cool!
This commit is contained in:
@@ -116,7 +116,7 @@ Route::post('/source/github/events', function () {
|
||||
$applications = $applications->where('git_branch', $base_branch)->get();
|
||||
}
|
||||
if ($applications->isEmpty()) {
|
||||
return response('Nothing to do. No applications found.');
|
||||
return response("Nothing to do. No applications found with branch '$base_branch'.");
|
||||
}
|
||||
foreach ($applications as $application) {
|
||||
$isFunctional = $application->destination->server->isFunctional();
|
||||
@@ -178,6 +178,7 @@ Route::post('/source/github/events', function () {
|
||||
}
|
||||
}
|
||||
} catch (Exception $e) {
|
||||
ray($e->getMessage());
|
||||
return general_error_handler(err: $e);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user