Commit 9806998d authored by Martyn Smith's avatar Martyn Smith Committed by Martyn Smith
Browse files

Fix bootstrap behaviour for json errors on upgrade

parent af1f763e
......@@ -78,6 +78,9 @@ for my $thing (@things) {
if ( $json_response->{error} ) {
croak qq{Failed to install $thing} . Dumper($json_response);
}
if ( defined $json_response->{message} ) {
print 'MESSAGE:', $json_response->{message};
}
}
# Request the core data page
......@@ -87,6 +90,9 @@ $json_response = my_jsonToObj($m->content());
if ( $json_response->{error} ) {
croak qq{Failed to install core data:} . Dumper($json_response);
}
if ( defined $json_response->{message} ) {
print 'MESSAGE:', $json_response->{message};
}
# Install done, now Log in
debug("Logging in...");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment