Merge pull request #414 from xabbu42/issue-171
Close connection on errors
This commit is contained in:
commit
95bb59dcfe
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue