Title: Bug: Redirect happens even when fetch fails in paymentSummary.js by SmartSankarCode · Pull Request #163 · SuperSimpleDev/javascript-course · GitHub
Open Graph Title: Bug: Redirect happens even when fetch fails in paymentSummary.js by SmartSankarCode · Pull Request #163 · SuperSimpleDev/javascript-course
X Title: Bug: Redirect happens even when fetch fails in paymentSummary.js by SmartSankarCode · Pull Request #163 · SuperSimpleDev/javascript-course
Description: Hey! @SuperSimpleDev I noticed that the app redirects to orders.html even if the fetch request fails. This happens because window.location.href = 'orders.html'; is outside the try...catch, so it ru...
Open Graph Description: Hey! @SuperSimpleDev I noticed that the app redirects to orders.html even if the fetch request fails. This happens because window.location.href = 'orders.html'; is outside the try...catch, ...
X Description: Hey! @SuperSimpleDev I noticed that the app redirects to orders.html even if the fetch request fails. This happens because window.location.href = 'orders.html'; is outside the try.....
Opengraph URL: https://github.com/SuperSimpleDev/javascript-course/pull/163
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:f2b5db8b-cba0-d12b-f60a-78a53173f802 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E41C:2DB8FC:13A51F1:1B201E6:6973A1E7 |
| html-safe-nonce | df18e438375ab73cc94da866765e116fad5a11f2ae5cf821917eb87db22d4409 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDFDOjJEQjhGQzoxM0E1MUYxOjFCMjAxRTY6Njk3M0ExRTciLCJ2aXNpdG9yX2lkIjoiNDY1OTI1MzIwODIwMTUzNTk3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5bf78d7d28f0671ed4240ff1b1fb9d7e1c2b09637c7abff7932d0147d77c9f7e |
| hovercard-subject-tag | pull_request:2484034568 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/voltron/pull_requests/show/SuperSimpleDev/javascript-course/163/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/d290bdeaa7153df702dec068592f4ca048cb49f77ff4bd84fc377159215c8303/SuperSimpleDev/javascript-course/pull/163 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d290bdeaa7153df702dec068592f4ca048cb49f77ff4bd84fc377159215c8303/SuperSimpleDev/javascript-course/pull/163 |
| og:image:alt | Hey! @SuperSimpleDev I noticed that the app redirects to orders.html even if the fetch request fails. This happens because window.location.href = 'orders.html'; is outside the try...catch, ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SmartSankarCode |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3e9aa9d0c22a21b13b378b4acd09f5dd4876a884425aacd32a9f473b84c8762d |
| turbo-cache-control | no-preview |
| go-import | github.com/SuperSimpleDev/javascript-course git https://github.com/SuperSimpleDev/javascript-course.git |
| octolytics-dimension-user_id | 70604577 |
| octolytics-dimension-user_login | SuperSimpleDev |
| octolytics-dimension-repository_id | 629995573 |
| octolytics-dimension-repository_nwo | SuperSimpleDev/javascript-course |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 629995573 |
| octolytics-dimension-repository_network_root_nwo | SuperSimpleDev/javascript-course |
| 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 | ae4dbd3ac4179af799d71b75a60b0075ccccc5f6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width