From a798d43019b4ecab782ed8b263932f92990e6cf8 Mon Sep 17 00:00:00 2001 From: Mark Gurevich Date: Thu, 19 May 2022 16:28:01 -0400 Subject: [PATCH] Better module failure message --- xCAT-server/sbin/xcatd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index 0492ed130..5d8b6b6bc 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -919,7 +919,7 @@ sub scan_plugins { /.*\/([^\/]*).pm$/; my $modname = $1; unless (eval { require "$_" }) { - xCAT::MsgUtils->message("S", "Error loading module " . $_ . " ...skipping"); + xCAT::MsgUtils->message("S", "Error loading module " . $_ . " ...skipping. \n Run \"perl -c $_\" to view details of the failure"); next; }