diff --git a/spec/static/index.html b/spec/static/index.html
index 6a3e4417c901..61647c03d47c 100644
--- a/spec/static/index.html
+++ b/spec/static/index.html
@@ -54,7 +54,7 @@
if (isCi) {
mocha.grep = function () {
try {
- throw new Error('it.only or describe.only was called')
+ throw new Error('A spec contains a call to it.only or describe.only and should be reverted.')
} catch (error) {
console.error(error.stack || error)
}