mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
fix(apple auth): do not try to parse name if it is missing, add query parameters to logs
This commit is contained in:
@@ -69,6 +69,7 @@ export default function errorHandler (err, req, res, next) { // eslint-disable-l
|
||||
// don't send sensitive information that only adds noise
|
||||
headers: omit(req.headers, ['x-api-key', 'cookie', 'password', 'confirmPassword']),
|
||||
body: omit(req.body, ['password', 'confirmPassword']),
|
||||
query: omit(req.query, ['password', 'confirmPassword']),
|
||||
|
||||
httpCode: responseErr.httpCode,
|
||||
isHandledError: responseErr.httpCode < 500,
|
||||
|
||||
Reference in New Issue
Block a user