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)
|
retryJob(job.project.id.toString(), job.id)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error(err)
|
console.error(err)
|
||||||
alert(err)
|
alert(err.toString())
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -143,7 +143,7 @@
|
||||||
})
|
})
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error(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)
|
table.appendChild(fragment)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
.catch(err => alert(err))
|
.catch(err => {
|
||||||
|
console.error(err)
|
||||||
|
alert(err.toString())
|
||||||
|
})
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in a new issue