Subject: | PATCH: improve diagnostics when SWISH::API doesn't load |
This patch provides the underlying error message when SWISH::API fails
to load.
It can help track down errors, like whether the problem is that
"SWISH::API" is not found, or that "SWISH::API" can't find the
underlying libraries that it needs.
Subject: | cgi-application-search-diagnostics.patch |
--- CGI/Application/Search.pm.bak 2008-08-06 10:46:48.000000000 -0400
+++ CGI/Application/Search.pm 2008-08-06 10:47:10.000000000 -0400
@@ -30,6 +30,8 @@
distribution, inside the perl/ directory. Please see the
CGI::Application::Search documentation for more details.
+Error returned was: $@
+
END
}