From c3bbf57bc5d5a26794948a37bcb79327e279b7fd Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Thu, 17 Jan 2002 17:02:12 +0000 Subject: [PATCH] added $@ to error log text in load_modules --- src/spong-client.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spong-client.pl b/src/spong-client.pl index 11a6c8c..0d8b7da 100755 --- a/src/spong-client.pl +++ b/src/spong-client.pl @@ -12,7 +12,7 @@ # History: # (1) Ported bb-local.sh script to perl. (Ed Hill Feb 26, 1997) # -# $Id: spong-client.pl,v 1.19 2001/06/20 17:10:22 supermathie Exp $ +# $Id: spong-client.pl,v 1.20 2002/01/17 17:02:12 sljohnson Exp $ use lib '@@LIBDIR@@'; @@ -268,7 +268,7 @@ sub load_checks { foreach $check (split / /,$CHECKS) { &debug( "Loading client check $check", 3 ); eval "require 'Spong/Client/plugins/check_$check';"; - if ( $@ ) { &error( "Could not load $check check plugin" ); } + if ( $@ ) { &error( "Could not load $check check plugin: $@" ); } } if (defined &check_local) { -- 2.30.2