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. .travis.yml
  2. AUTHORS
  3. CONDUCT.md
  4. CONTRIBUTING.md
  5. CONTRIBUTORS
  6. LICENSE
  7. PATENTS
  8. README.md
  9. client/
  10. cmd/
  11. codereview.cfg
  12. filesystem/
README.md

Upspin exp repository

This repository contains components that are experimental or under development.

See the master repository for more information.