Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Respond with HTTP status 500 when Store API request fails during Cloud migration (#62534)

Dennis Schridded872c00600cb
diff --git a/src/metabase/cloud_migration/api.clj b/src/metabase/cloud_migration/api.clj
index 5d7970a564b..95a83771e7b 100644
--- a/src/metabase/cloud_migration/api.clj
+++ b/src/metabase/cloud_migration/api.clj
@@ -32,7 +32,7 @@
(condp = (-> e ex-data :status)
404 {:status 404 :body "Could not establish a connection to Metabase Cloud."}
400 {:status 400 :body "Cannot migrate this Metabase version."}
- {:status 500})))))
+ {:status 500 :body ""})))))
(api.macros/defendpoint :get "/"
"Get the latest cloud migration, if any."