Avoid swallowing rejected font loading promise
This commit is contained in:
@@ -740,9 +740,8 @@ module.exports = function(options, repo, params, id, dataResolver) {
|
|||||||
return res.send(info);
|
return res.send(info);
|
||||||
});
|
});
|
||||||
|
|
||||||
return new Promise(function(resolve, reject) {
|
return Promise.all([fontListingPromise, renderersReadyPromise]).then(function() {
|
||||||
Promise.all([fontListingPromise, renderersReadyPromise]).then(function() {
|
return app;
|
||||||
resolve(app);
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user