Added more detailed errors when spectre isn't able to connect to WebGUI.
This commit is contained in:
parent
23166313d7
commit
acc2be1f6b
2 changed files with 3 additions and 1 deletions
|
|
@ -13,6 +13,8 @@
|
||||||
not be loaded.
|
not be loaded.
|
||||||
- fix: Asset context menus sometimes appearing in wrong location in IE
|
- 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
|
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
|
7.3.17
|
||||||
|
|
|
||||||
|
|
@ -146,7 +146,7 @@ sub loadSiteData {
|
||||||
my $request = new HTTP::Request (GET => $url);
|
my $request = new HTTP::Request (GET => $url);
|
||||||
my $response = $userAgent->request($request);
|
my $response = $userAgent->request($request);
|
||||||
if ($response->is_error) {
|
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 {
|
else {
|
||||||
my $siteData = {};
|
my $siteData = {};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue