Try showing error
Test / test (push) Failing after 46s
Details
Test / test (push) Failing after 46s
Details
This commit is contained in:
parent
30959422a9
commit
829c1ad343
|
|
@ -87,6 +87,11 @@ function EnableButton({ onSubscribe }: { onSubscribe: () => void }) {
|
|||
body: JSON.stringify(subscription),
|
||||
})
|
||||
onSubscribe()
|
||||
},
|
||||
(error) => {
|
||||
const errorDiv = document.createElement("div")
|
||||
errorDiv.innerText = "Error thingy" + JSON.stringify(error)
|
||||
document.appendChild(errorDiv)
|
||||
}
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue