From 0f99877bd53f19002511fa27cbd39d0c36712861 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Thu, 31 Jan 2008 04:52:56 +0000 Subject: [PATCH] More diagnostic info for failing to parse JSON data returned by WebGUI. --- lib/Spectre/Admin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Spectre/Admin.pm b/lib/Spectre/Admin.pm index 995f4f770..5e44fe40e 100644 --- a/lib/Spectre/Admin.pm +++ b/lib/Spectre/Admin.pm @@ -154,7 +154,7 @@ sub loadSiteData { my $siteData = {}; eval { $siteData = JSON::from_json($response->content); }; if ($@) { - $self->error("Couldn't fetch Spectre configuration data for $key"); + $self->error("Couldn't fetch Spectre configuration data for $key : $@"); } else { $self->debug("Loading workflow data for $key");