diff --git a/app/views/common/_discourse_javascript.html.erb b/app/views/common/_discourse_javascript.html.erb index 41f259dea2a..703d478e615 100644 --- a/app/views/common/_discourse_javascript.html.erb +++ b/app/views/common/_discourse_javascript.html.erb @@ -20,7 +20,7 @@ console.log(e.message); console.log(e.stack); } else { - console.log("Uncaught promise: " + e.toString()); + console.log("Uncaught promise: ", e); } } else { console.log("A promise failed but was not caught.");