Merge pull request #414 from xabbu42/issue-171

Close connection on errors
This commit is contained in:
Petr Sloup 2020-01-28 15:46:52 +01:00 committed by GitHub
commit 95bb59dcfe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -424,7 +424,7 @@ module.exports = (options, repo, params, id, publicUrl, dataResolver) => {
pool.release(renderer);
if (err) {
console.error(err);
return;
return res.status(500).send(err);
}
// Fix semi-transparent outlines on raw, premultiplied input