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.

fix: sentry issue

Andras Bacsai706e4b13ee30
diff --git a/bootstrap/helpers/docker.php b/bootstrap/helpers/docker.php
index 030aa6aa7d..d643cce6b1 100644
--- a/bootstrap/helpers/docker.php
+++ b/bootstrap/helpers/docker.php
@@ -275,8 +275,11 @@ function generateLabelsApplication(Application $application, ?ApplicationPreview
return $labels->all();
}
-function isDatabaseImage(string $image)
+function isDatabaseImage(?string $image = null)
{
+ if (is_null($image)) {
+ return false;
+ }
$image = str($image);
if ($image->contains(':')) {
$image = str($image);