Display the error message if reland throws an exception

When reland fails, the displayed alert contains:
Cannot reland: Error: 409 // the http status code

Better to include the actual error message instead.

Change-Id: I6bb6437ad0c7754efc09dad18e127f65b2edb2f4
1 file changed
tree: 5466d19bdb2f3511eb7b5945a8c3562bf436c98b
  1. src/
  2. test/
  3. .eslintrc.json
  4. .gitignore
  5. BUILD
  6. codereview.settings
  7. LICENSE
  8. package-lock.json
  9. package.json
  10. polymer.json
  11. README.md
  12. run-with-prod-data.sh
  13. WATCHLISTS
README.md

Chrome/Chromium behavior theme for Gerrit

To run unit tests

$ npm wct-test

To test with Gerrit FE Dev Helper

Make sure the plugin is installed in plugins/ of Gerrit repository.

$ cd ../.. # Gerrit root directory
$ bazel build plugins/chromium-behavior:chromium-behavior
$ cp -f bazel-bin/plugins/chromium-behavior/chromium-behavior-bundle.js plugins/
$ cd plugins/chromium-behavior
$ run-with-prod-data.sh