Close the client postgresql connection after rejection. (#4084)

Co-authored-by: Manuel Vázquez Acosta <manuel@merchise.org>
pull/4088/head
Louis Lam 1 year ago committed by GitHub
parent bf58838b89
commit 8e61158758
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -458,6 +458,7 @@ exports.postgresQuery = function (connectionString, query) {
}); });
} catch (e) { } catch (e) {
reject(e); reject(e);
client.end();
} }
} }
}); });

Loading…
Cancel
Save