Title: incomplete error reporting · Issue #57 · nodegit/nodegit · GitHub
Open Graph Title: incomplete error reporting · Issue #57 · nodegit/nodegit
X Title: incomplete error reporting · Issue #57 · nodegit/nodegit
Description: When running the Readme example (after fixing typos), if I call repo.branch() on a not existent branch, nodegit throws GitError. However, the error object seems to be incomplete: { name: 'GitError', message: undefined, code: undefined } ...
Open Graph Description: When running the Readme example (after fixing typos), if I call repo.branch() on a not existent branch, nodegit throws GitError. However, the error object seems to be incomplete: { name: 'GitError'...
X Description: When running the Readme example (after fixing typos), if I call repo.branch() on a not existent branch, nodegit throws GitError. However, the error object seems to be incomplete: { name: 'GitEr...
Opengraph URL: https://github.com/nodegit/nodegit/issues/57
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"incomplete error reporting","articleBody":"When running the Readme example (after fixing typos), if I call repo.branch() on a not existent branch, nodegit throws GitError. However, the error object seems to be incomplete:\n\n{ name: 'GitError', message: undefined, code: undefined }\n\nI'm not sure whether a more descriptive error message or code is available, but it would be good to report them.\n","author":{"url":"https://github.com/kamholz","@type":"Person","name":"kamholz"},"datePublished":"2013-03-21T10:00:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/57/nodegit/issues/57"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:873edb48-d9eb-70c0-5938-2a5c07259847 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9AF0:157F2A:5AA3D6:786815:6A5FCD2D |
| html-safe-nonce | ad70e1699ad9877fd252e19c03da68aceb6bcd6c96de3c7c7542b367f0e4afc9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUYwOjE1N0YyQTo1QUEzRDY6Nzg2ODE1OjZBNUZDRDJEIiwidmlzaXRvcl9pZCI6IjY0NDI1MjU5NDg3OTg1NTMzODkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8345c194c83de04cda57ce50e6e84820760a79df5aaf837d64b9c9c83bd93c0a |
| hovercard-subject-tag | issue:12267118 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodegit/nodegit/57/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3ed68fd534ccaee6779ff948afd02ecddc71d975b995a7ed8a4b7117a1b41c2c/nodegit/nodegit/issues/57 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3ed68fd534ccaee6779ff948afd02ecddc71d975b995a7ed8a4b7117a1b41c2c/nodegit/nodegit/issues/57 |
| og:image:alt | When running the Readme example (after fixing typos), if I call repo.branch() on a not existent branch, nodegit throws GitError. However, the error object seems to be incomplete: { name: 'GitError'... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kamholz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 53a28a7799cbf673993ab89fc44869fea4c4a6545a861a4d1445e83e8d03aabd |
| turbo-cache-control | no-preview |
| go-import | github.com/nodegit/nodegit git https://github.com/nodegit/nodegit.git |
| octolytics-dimension-user_id | 657068 |
| octolytics-dimension-user_login | nodegit |
| octolytics-dimension-repository_id | 1383170 |
| octolytics-dimension-repository_nwo | nodegit/nodegit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1383170 |
| octolytics-dimension-repository_network_root_nwo | nodegit/nodegit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | dc08399f879d576f0edbb8c52a0a1a30d498b203 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width