renovate/lib/logger/__snapshots__/err-serializer.spec.ts.snap

37 lines
897 B
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`logger/err-serializer got sanitize http error 1`] = `
{
"code": "ERR_NON_2XX_3XX_RESPONSE",
"message": "Response code 412 (Precondition Failed)",
"name": "HTTPError",
"options": {
"headers": {
"accept": "application/json",
"accept-encoding": "gzip, deflate, br",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"hostType": "any",
"http2": false,
"method": "POST",
"password": "***********",
"url": "https://**redacted**@github.com/api",
"username": "",
},
"response": {
"body": {
"err": {
"message": "failed",
},
},
"headers": {
"content-type": "application/json",
},
"httpVersion": null,
"retryCount": 0,
"statusCode": 412,
"statusMessage": "Precondition Failed",
},
}
`;