fix: Enhance error logging in index.ts to include error title #874
Annotations
2 errors
run
Resource not accessible by integration
|
run
{
"name": "HttpError",
"status": 403,
"response": {
"url": "https://api.github.com/user",
"status": 403,
"headers": {
"access-control-allow-origin": "*",
"access-control-expose-headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
"content-encoding": "gzip",
"content-security-policy": "default-src 'none'",
"content-type": "application/json; charset=utf-8",
"date": "Tue, 26 Nov 2024 15:59:45 GMT",
"referrer-policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"server": "github.com",
"strict-transport-security": "max-age=31536000; includeSubdomains; preload",
"transfer-encoding": "chunked",
"vary": "Accept-Encoding, Accept, X-Requested-With",
"x-accepted-github-permissions": "allows_permissionless_access=true",
"x-content-type-options": "nosniff",
"x-frame-options": "deny",
"x-github-api-version-selected": "2022-11-28",
"x-github-media-type": "github.v3; format=json",
"x-github-request-id": "6440:11315:2F1E91B:5CF8FB4:6745F071",
"x-ratelimit-limit": "5000",
"x-ratelimit-remaining": "4998",
"x-ratelimit-reset": "1732640173",
"x-ratelimit-resource": "core",
"x-ratelimit-used": "2",
"x-xss-protection": "0"
},
"data": {
"message": "Resource not accessible by integration",
"documentation_url": "https://docs.github.com/rest/users/users#get-the-authenticated-user",
"status": "403"
}
},
"request": {
"method": "GET",
"url": "https://api.github.com/user",
"headers": {
"accept": "application/vnd.github.v3+json",
"user-agent": "octokit-core.js/5.1.0 Node.js/20.18.0 (linux; x64)",
"authorization": "token [REDACTED]"
},
"request": {
"agent": {
"_events": {},
"_eventsCount": 2,
"defaultPort": 443,
"protocol": "https:",
"options": {
"keepAlive": true,
"scheduling": "lifo",
"timeout": 5000,
"noDelay": true,
"path": null
},
"requests": {},
"sockets": {},
"freeSockets": {},
"keepAliveMsecs": 1000,
"keepAlive": true,
"maxSockets": null,
"maxFreeSockets": 256,
"scheduling": "lifo",
"maxTotalSockets": null,
"totalSocketCount": 0,
"maxCachedSessions": 100,
"_sessionCache": {
"map": {},
"list": []
}
}
}
}
}
|