fix: Pass only strings to alert()
This commit is contained in:
parent
98406f9c50
commit
c7f52ff8fe
2 changed files with 6 additions and 3 deletions
4
dist/runner.html
vendored
4
dist/runner.html
vendored
|
@ -127,7 +127,7 @@
|
|||
retryJob(job.project.id.toString(), job.id)
|
||||
} catch (err) {
|
||||
console.error(err)
|
||||
alert(err)
|
||||
alert(err.toString())
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -143,7 +143,7 @@
|
|||
})
|
||||
} catch (err) {
|
||||
console.error(err)
|
||||
alert(err)
|
||||
alert(err.toString())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
5
dist/runners.html
vendored
5
dist/runners.html
vendored
|
@ -48,7 +48,10 @@
|
|||
table.appendChild(fragment)
|
||||
})
|
||||
})
|
||||
.catch(err => alert(err))
|
||||
.catch(err => {
|
||||
console.error(err)
|
||||
alert(err.toString())
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue