Title: return endpoint restful http message instead of statusText · Issue #57 · VoliJS/Type-R · GitHub
Open Graph Title: return endpoint restful http message instead of statusText · Issue #57 · VoliJS/Type-R
X Title: return endpoint restful http message instead of statusText · Issue #57 · VoliJS/Type-R
Description: in file endpoints/restful/src/index.ts in method request ... fetch if not response.ok you throw error with the response.statusText instead of the real http response object mesage this is the change i'm suggesting: if( response.ok ) { ret...
Open Graph Description: in file endpoints/restful/src/index.ts in method request ... fetch if not response.ok you throw error with the response.statusText instead of the real http response object mesage this is the change...
X Description: in file endpoints/restful/src/index.ts in method request ... fetch if not response.ok you throw error with the response.statusText instead of the real http response object mesage this is the change...
Opengraph URL: https://github.com/VoliJS/Type-R/issues/57
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"return endpoint restful http message instead of statusText","articleBody":"in file\r\nendpoints/restful/src/index.ts\r\n\r\nin method request ... fetch\r\nif not response.ok you throw error with the response.statusText\r\ninstead of the real http response object mesage\r\n\r\nthis is the change i'm suggesting:\r\n`if( response.ok ) { return response.json() } else { return response.json().then((data) =\u003e { throw new Error(data.message); }); }`\r\n\r\n","author":{"url":"https://github.com/al-oath","@type":"Person","name":"al-oath"},"datePublished":"2019-07-23T14:17:51.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/57/Type-R/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:295e2d03-5f06-9c72-24c7-a12377631b84 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ABFC:C86C2:2415B8:312632:698F0B85 |
| html-safe-nonce | 1b1b17f53da34b0638f0fc23947cc8eac88a34f36f284f254fbad2f4e1a0252e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkZDOkM4NkMyOjI0MTVCODozMTI2MzI6Njk4RjBCODUiLCJ2aXNpdG9yX2lkIjoiNjQzNDU0NjUxODAyNDE5NDk0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bbd55a5013007d2540afc956ac5c862cf9fe40ecee065e235ab2032e3cc01938 |
| hovercard-subject-tag | issue:471724868 |
| 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/VoliJS/Type-R/57/issue_layout |
| twitter:image | https://opengraph.githubassets.com/841f5ef7a9672f83f0c7a9052808078b359d1191b9b23a9e902797b790826561/VoliJS/Type-R/issues/57 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/841f5ef7a9672f83f0c7a9052808078b359d1191b9b23a9e902797b790826561/VoliJS/Type-R/issues/57 |
| og:image:alt | in file endpoints/restful/src/index.ts in method request ... fetch if not response.ok you throw error with the response.statusText instead of the real http response object mesage this is the change... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | al-oath |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2da1a0d1318592c9965539b12269c4641177dfabfc86c3807992efb13e1d96ff |
| turbo-cache-control | no-preview |
| go-import | github.com/VoliJS/Type-R git https://github.com/VoliJS/Type-R.git |
| octolytics-dimension-user_id | 47828798 |
| octolytics-dimension-user_login | VoliJS |
| octolytics-dimension-repository_id | 61828902 |
| octolytics-dimension-repository_nwo | VoliJS/Type-R |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 55614356 |
| octolytics-dimension-repository_parent_nwo | gaperton/Type-R |
| octolytics-dimension-repository_network_root_id | 55614356 |
| octolytics-dimension-repository_network_root_nwo | gaperton/Type-R |
| 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 | 66d26b1a7f81bd3ffe8d0f16abab43f6e64fd21a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width