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.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
Fix error message in generate_github_installation_token function
Andras Bacsai72b900144752
diff --git a/bootstrap/helpers/github.php b/bootstrap/helpers/github.phpindex 5d759e6511..0ae94363b9 100644--- a/bootstrap/helpers/github.php+++ b/bootstrap/helpers/github.php@@ -29,7 +29,7 @@ function generate_github_installation_token(GithubApp $source)'Accept' => 'application/vnd.github.machine-man-preview+json'])->post("{$source->api_url}/app/installations/{$source->installation_id}/access_tokens");if ($token->failed()) {- throw new RuntimeException("Failed to get access token for " . $source->name . " with error: " . $token->json()['message']);+ throw new RuntimeException("Failed to get access token for " . $source->name . " with error: " . data_get($token->json(),'message','no error message found'));}return $token->json()['token'];}