#803 nueva comprobacion para eliminar un ticket

This commit is contained in:
Gerard 2018-11-20 10:34:29 +01:00
parent 272ad9fe50
commit cb86e63e71
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ module.exports = function() {
return function(err, req, res, next) {
// Thrown user errors
if (err instanceof UserError) {
err.message = req.__(err.message);
err.message = req.__(err.message, ...err.translateArgs);
return next(err);
}