fix: show hostname on modrinth servers 503 (#4678)

* fix: show hostname on modrinth servers 503

* fix: lint
This commit is contained in:
Calum H.
2025-10-30 19:18:24 +00:00
committed by GitHub
parent bcc36362be
commit f31b74f7fd
3 changed files with 41 additions and 6 deletions

View File

@@ -1043,7 +1043,10 @@ const nodeUnavailableDetails = computed(() => [
},
{
label: 'Node',
value: server.general?.datacenter ?? 'Unknown',
value:
server.moduleErrors?.general?.error.responseData?.hostname ??
server.general?.datacenter ??
'Unknown',
type: 'inline' as const,
},
{