diff --git a/dashboard/src/components/AppInstallDialog.vue b/dashboard/src/components/AppInstallDialog.vue index 6636fd42d..e5f42e902 100644 --- a/dashboard/src/components/AppInstallDialog.vue +++ b/dashboard/src/components/AppInstallDialog.vue @@ -162,9 +162,8 @@ async function onSubmit(overwriteDns) { formError.value.port = match ? parseInt(match[1]) : null; } else if (error.status === 409 && error.body.message.indexOf('primary location') !== -1) { formError.value.location = error.body.message; - } else if (error.status === 412) { - formError.value.generic = error.body.message; } else { + formError.value.generic = error.body?.message || `Error installing app. Status code: ${error.status} . ${error.body}`; console.error('Failed to install:', error); } }