More diagnostic info for failing to parse JSON data returned by WebGUI.

This commit is contained in:
Colin Kuskie 2008-01-31 04:52:56 +00:00
parent e491447ed9
commit 0f99877bd5

View file

@ -154,7 +154,7 @@ sub loadSiteData {
my $siteData = {}; my $siteData = {};
eval { $siteData = JSON::from_json($response->content); }; eval { $siteData = JSON::from_json($response->content); };
if ($@) { if ($@) {
$self->error("Couldn't fetch Spectre configuration data for $key"); $self->error("Couldn't fetch Spectre configuration data for $key : $@");
} }
else { else {
$self->debug("Loading workflow data for $key"); $self->debug("Loading workflow data for $key");