diff --git a/plugins/in_exec_wasi/in_exec_wasi.c b/plugins/in_exec_wasi/in_exec_wasi.c index 071aadee9d9..704af9037a6 100644 --- a/plugins/in_exec_wasi/in_exec_wasi.c +++ b/plugins/in_exec_wasi/in_exec_wasi.c @@ -61,6 +61,7 @@ static int in_exec_wasi_collect(struct flb_input_instance *ins, /* Validate the temporary file was created */ if (stdoutp == NULL) { + flb_plg_error(ctx->ins, "failed to created temporary file"); return -1; }