From 6c082e955466f0c451d608fb3cbb31481c02fa37 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 20 Sep 2017 19:38:10 +0200 Subject: [PATCH] perl plugin: Improve error message. --- src/perl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.11.0