mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 13:03:39 +08:00
DEV: Print full stack trace on ember-cli bootstrap error (#15167)
This commit is contained in:
parent
3a73028a70
commit
44d16fcd8e
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user