Added more detailed errors when spectre isn't able to connect to WebGUI.

This commit is contained in:
Graham Knop 2007-05-21 12:06:29 +00:00
parent 23166313d7
commit acc2be1f6b
2 changed files with 3 additions and 1 deletions

View file

@ -13,6 +13,8 @@
not be loaded.
- fix: Asset context menus sometimes appearing in wrong location in IE
http://www.plainblack.com/bugs/tracker/export-contextual-menu-not-always-working-in-ie.--works-great-in-firefox
- Added more detailed errors when spectre isn't able to connect to WebGUI.
http://www.plainblack.com/bugs/tracker/enhance-error-message-in-spectre-admin.pm
7.3.17

View file

@ -146,7 +146,7 @@ sub loadSiteData {
my $request = new HTTP::Request (GET => $url);
my $response = $userAgent->request($request);
if ($response->is_error) {
$self->error( "Couldn't connect to WebGUI site $key");
$self->error( "Couldn't connect to WebGUI site $key at $url. Response: " . $response->status_line );
}
else {
my $siteData = {};