diff --git a/webui/src/components/display/UpObject.svelte b/webui/src/components/display/UpObject.svelte index 45b3e5c..0ffcebd 100644 --- a/webui/src/components/display/UpObject.svelte +++ b/webui/src/components/display/UpObject.svelte @@ -50,9 +50,9 @@ ) ); fetch(`/api/raw/${address}?native=1`) - .then((response) => { + .then(async (response) => { if (!response.ok) { - throw new Error(response.statusText); + throw new Error(`${response.statusText} - ${await response.text()}`); } if (response.headers.has("warning")) { const warningText = response.headers