From: Florian Forster Date: Wed, 20 Sep 2017 17:38:10 +0000 (+0200) Subject: perl plugin: Improve error message. X-Git-Tag: collectd-5.6.3~6 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6c082e955466f0c451d608fb3cbb31481c02fa37;p=collectd.git perl plugin: Improve error message. --- diff --git a/src/perl.c b/src/perl.c index 66ad1819..a6739c46 100644 --- a/src/perl.c +++ b/src/perl.c @@ -2399,8 +2399,8 @@ static int perl_config_plugin(pTHX_ oconfig_item_t *ci) { HV *config; if (NULL == perl_threads) { - log_err("No plugins was loaded yet! Put your plugin configuration block " - "after relevant `LoadPlugin' option."); + log_err("A `Plugin' block was encountered but no plugin was loaded yet. " + "Put the appropriate `LoadPlugin' option in front of it."); return -1; }