#803 nueva comprobacion para eliminar un ticket
This commit is contained in:
parent
272ad9fe50
commit
cb86e63e71
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue