A platform for community discussion. Free, open, simple.
DEV: Print full stack trace on ember-cli bootstrap error (#15167)
David Taylor44d16fcd8e26
diff --git a/app/assets/javascripts/discourse/lib/bootstrap-json/index.js b/app/assets/javascripts/discourse/lib/bootstrap-json/index.jsindex cb38fbc67c4..6cea5eeb848 100644--- a/app/assets/javascripts/discourse/lib/bootstrap-json/index.js+++ b/app/assets/javascripts/discourse/lib/bootstrap-json/index.js@@ -321,8 +321,8 @@ to serve API requests. For example:} catch (error) {res.send(`<html>- <h1>Discourse Build Error</h1>- <pre><code>${error}</code></pre>+ <h1>Discourse Ember CLI Proxy Error</h1>+ <pre><code>${error.stack}</code></pre></html>`);} finally {