From 6f8664509795e1cb9dbbe7a8c69add6463fda248 Mon Sep 17 00:00:00 2001 From: Martin Kamerbeek Date: Tue, 29 Aug 2006 14:13:14 +0000 Subject: [PATCH] fix: Spectre::Admin Error Message --- docs/changelog/7.x.x.txt | 1 + lib/Spectre/Admin.pm | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 0c2616942..acdf5c665 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -16,6 +16,7 @@ - fix: Matrix 'Can instantiate template' and also fixed a bug where the style and printable style were not set for the Collabs attached to the listings in the Matrix (Martin Kamerbeek / Procolix) + - fix: Spectre::Admin Error Message (xhunter) 7.0.6 diff --git a/lib/Spectre/Admin.pm b/lib/Spectre/Admin.pm index 8b14cdd79..5a53732a7 100644 --- a/lib/Spectre/Admin.pm +++ b/lib/Spectre/Admin.pm @@ -205,9 +205,9 @@ sub runTests { } else { my $response = $response->content; if ($response eq "subnet") { - print "ERROR: Spectre cannot communicate with WebGUI for $key, perhaps you need to adjust the spectreSubnets setting in this config file.\n"; + print "ERROR: Spectre cannot communicate with WebGUI. Perhaps you need to adjust the spectreSubnets setting in this config file: $key.\n"; } elsif ($response eq "spectre") { - print "ERROR: WebGUI connot communicate with Spectre for $key, perhaps you need to adjust the spectreIp or spectrePort setting the this config file."; + print "ERROR: WebGUI cannot communicate with Spectre. Perhaps you need to adjust the spectreIp or spectrePort setting the this config file: $key."; } elsif ($response ne "success") { print "ERROR: Spectre received an invalid response from WebGUI while testing $key\n"; }