Add button to test error report function

This commit is contained in:
Pieter Vander Vennet 2024-07-20 16:56:19 +02:00
parent 0a5be146ff
commit b6514cb54f

View file

@ -350,3 +350,13 @@
{#each services as service}
<ServiceIndicator {service} />
{/each}
<button on:click={() => {
fetch(Constants.ErrorReportServer, {
method: "POST",
body: JSON.stringify({
message: "Test via the status page, not an actual error",
version: Constants.vNumber,
}),
})
}}>Test error report function</button>