DEV: Print full stack trace on ember-cli bootstrap error (#15167)

This commit is contained in:
David Taylor 2021-12-02 10:58:03 +00:00 committed by GitHub
parent 3a73028a70
commit 44d16fcd8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {