mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
change to erro handler middleware to log full error object and support express-validator
This commit is contained in:
@@ -92,6 +92,7 @@ describe('errorHandler', () => {
|
||||
originalUrl: req.originalUrl,
|
||||
headers: req.headers,
|
||||
body: req.body,
|
||||
fullError: error,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user