mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 07:37:19 +02:00
Rethrow promise errors (#296)
This commit is contained in:
parent
9c7836979f
commit
a49787a56e
1 changed files with 4 additions and 0 deletions
|
@ -45,4 +45,8 @@ tcpPortUsed.check(port, 'localhost').then(function(inUse) {
|
|||
const server = require('./server/server.js');
|
||||
server(port);
|
||||
}
|
||||
}).catch(function(ex) {
|
||||
setTimeout(function() {
|
||||
throw ex;
|
||||
}, 0);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue