output: on plugin initialization fail, write error message
@@ -471,6 +471,8 @@ int flb_output_init(struct flb_config *config)
ret = p->cb_init(ins, config, ins->data);
mk_list_init(&ins->th_queue);
if (ret == -1) {
+ flb_error("[output] Failed to initialize '%s' plugin",
+ p->name);
return -1;
}
