diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-09-23 15:04:54 +0100 |
---|---|---|
committer | Baserock Gerrit <gerrit@baserock.org> | 2015-09-28 11:06:36 +0000 |
commit | 59db12f0d7c3463dba6251122568c7e3e2e554ca (patch) | |
tree | 5dd41e92f30a72b2258465adfe509b9021a066a7 /install-files | |
parent | 0f05b3e979befee6412f434a8b4b6977557e125c (diff) | |
download | definitions-59db12f0d7c3463dba6251122568c7e3e2e554ca.tar.gz |
migrations/006: Report network errors more clearly
This is a bit of an awkward migration because it tries to contact the
remote cache server in order to do build system autodetection. Users who
are using a Trove other than git.baserock.org will need to change the
script to point to their Trove. So the error message should point them
in that direction, but without obscuring the original error (which may
due to network connectivity or soemthing else).
Error output now looks like this:
WARNING: Unexpected response from server http://git.baserock.org:8080/
for repo git://git.baserock.org/delta/libndp: 404 Client Error: Not
Found
Error: Unable to look up one or more repos on remote Git server
git.baserock.org. If you are using a Trove that is not git.baserock.org,
please edit the TROVE_HOST constant in this script and run it again.
Before, you would get a backtrace from the simplejson module in this
situation.
Change-Id: I3f6b3fb46ff436b8490a687ab4bd4d32d857f2ff
Diffstat (limited to 'install-files')
0 files changed, 0 insertions, 0 deletions