mirror of
https://github.com/renovatebot/renovate.git
synced 2024-12-22 13:38:32 +00:00
be10c29d17
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
37 lines
897 B
Plaintext
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",
|
|
},
|
|
}
|
|
`;
|