cmd/browser: better reporting of XHR errors

When the JS fails in making a request to the back end we should give the
user as much information as possible. Before this change they would
just see the unhelpful message "[object Object]".

Change-Id: I3f274fac87c685367cd2ebcba819998dff39c92c
Reviewed-on: https://upspin-review.googlesource.com/11540
Reviewed-by: Rob Pike <r@golang.org>
1 file changed
tree: 62d121457ed0d5a1e6bdf17cb47a5b157591a807
  1. client/
  2. cmd/
  3. filesystem/
  4. .travis.yml
  5. AUTHORS
  6. codereview.cfg
  7. CONDUCT.md
  8. CONTRIBUTING.md
  9. CONTRIBUTORS
  10. LICENSE
  11. PATENTS
  12. README.md
README.md

Upspin exp repository

This repository contains components that are experimental or under development.

See the master repository for more information.