app/api/utils/specs/__snapshots__/handleError.spec.js.snap
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`handleError errors by type when error is created with createError should return the error 1`] = `
Object {
"code": 400,
"logLevel": "debug",
"message": "test error",
"prettyMessage": "
test error",
"requestId": "1234",
}
`;
exports[`handleError when the body contains the user and password should not show them in the log 1`] = `
Array [
Array [
"requestId: 1234
body: {
\\"username\\": \\"########\\",
\\"password\\": \\"########\\"
}
test error",
Object {},
],
]
`;