forked from MapComplete/MapComplete
Add button to test error report function
This commit is contained in:
parent
0a5be146ff
commit
b6514cb54f
1 changed files with 10 additions and 0 deletions
|
@ -350,3 +350,13 @@
|
||||||
{#each services as service}
|
{#each services as service}
|
||||||
<ServiceIndicator {service} />
|
<ServiceIndicator {service} />
|
||||||
{/each}
|
{/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>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue