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

View File

@ -321,8 +321,8 @@ to serve API requests. For example:
} catch (error) { } catch (error) {
res.send(` res.send(`
<html> <html>
<h1>Discourse Build Error</h1> <h1>Discourse Ember CLI Proxy Error</h1>
<pre><code>${error}</code></pre> <pre><code>${error.stack}</code></pre>
</html> </html>
`); `);
} finally { } finally {