diff --git a/lib/sinon/default-behaviors.js b/lib/sinon/default-behaviors.js index b4530b67b..6e51ceb89 100644 --- a/lib/sinon/default-behaviors.js +++ b/lib/sinon/default-behaviors.js @@ -16,7 +16,7 @@ function throwsException(fake, error, message) { } else if (typeof error === "string") { fake.exceptionCreator = function () { const newException = new Error( - message || `Sinon-provided ${error}`, + message || `Sinon-provided Error:${error}`, ); newException.name = error; return newException;