added more error-verbosity when initializing modules

This commit is contained in:
Jordi Sanfeliu 2014-04-08 11:52:42 +02:00
parent 6f7c8f9778
commit 88eabee7c6
1 changed files with 1 additions and 1 deletions

View File

@ -520,7 +520,7 @@ foreach (split(',', $config{graph_name} . ", traffacct")) {
eval "use $g qw(" . $init . " " . $g . "_update)";
if($@) {
logger("WARNING: unable to find module '$g'.");
logger("WARNING: unable to load module '$g'. $@");
next;
}
{