Use the right step name for profiling

This commit is contained in:
Daniel García Aubert
2018-02-28 19:29:53 +01:00
parent faa44e54ae
commit 9dc4e7c955
@@ -5,7 +5,7 @@ module.exports = function dbConnSetup (pgConnection) {
const { user } = res.locals;
pgConnection.setDBConn(user, res.locals, (err) => {
req.profiler.done('setDBConn');
req.profiler.done('dbConnSetup');
if (err) {
if (err.message && -1 !== err.message.indexOf('name not found')) {