Try showing error
Test / test (push) Failing after 46s Details

This commit is contained in:
Jeff 2024-09-21 22:39:06 -04:00
parent 30959422a9
commit 829c1ad343
1 changed files with 5 additions and 0 deletions

View File

@ -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)
}
)
}