code-server/ci
Asher 27ba64c7e4
Improve request error handling
See #1532 for more context.

- Errored JSON requests will get back the error in JSON instead of using
  the status text. This seems better to me because it seems more correct
  to utilize the response body over hijacking the status text. The
  caller is expecting JSON anyway. Worst of all I never actually set the
  status text like I thought I did so it wasn't working to begin with.
- Allow the update error to propagate for JSON update requests. It was
  caught to show the error inline instead of an error page when using
  the update page but for JSON requests it meant there was no error and
  no error code so it looked like it succeeded.
- Make errors for failed requests to GitHub less incomprehensible.
  Previously they would just be the code which is no context at all.
2020-04-17 15:16:10 -05:00
..
dev-image Adds dev container and docs (#1499) 2020-04-14 17:22:52 -05:00
image Peg yarn version to ensure deterministic builds 2020-03-28 14:29:04 -07:00
release-image Combine two RUNs 2020-03-07 00:06:42 +01:00
build-test.sh Add build test 2020-03-26 13:54:40 -05:00
build.ts Don't ignore scripts for code-server prod yarn 2020-03-16 15:14:51 -05:00
ci.sh Fix bugs in CI 2020-02-18 19:06:35 -05:00
clean.sh Fix clean.sh 2020-02-25 21:30:58 -05:00
code-server.sh Add exec to startup script 2020-03-06 10:31:16 -06:00
fmt.sh Add macOS release step 2020-02-14 21:16:23 -05:00
lib.sh Fix bugs in CI 2020-02-18 19:06:35 -05:00
lint.sh Fix bugs in CI 2020-02-18 19:06:35 -05:00
release.sh Fix arm builds 2020-03-27 12:02:56 -05:00
tsconfig.json Format and lint 2020-02-14 20:00:19 -05:00
vscode.patch Improve request error handling 2020-04-17 15:16:10 -05:00
vscode.sh Remove npm rebuild 2020-03-25 17:07:26 -05:00