From 94d9fbf0f0285b0d7aab4a55f4223f12f329d17b Mon Sep 17 00:00:00 2001 From: Matthew Fala Date: Thu, 2 Nov 2023 20:23:14 +0000 Subject: [PATCH] out_cloudwatch_logs: enhance api error response readability Signed-off-by: Matthew Fala --- src/aws/flb_aws_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aws/flb_aws_util.c b/src/aws/flb_aws_util.c index 231e9aeb7ff..32e7ed3bf60 100644 --- a/src/aws/flb_aws_util.c +++ b/src/aws/flb_aws_util.c @@ -582,7 +582,7 @@ void flb_aws_print_error(char *response, size_t response_len, error = flb_json_get_val(response, response_len, "__type"); if (!error) { /* error can not be parsed, print raw response */ - flb_plg_warn(ins, "Raw response: %s", response); + flb_plg_warn(ins, "%s: Raw response: %s", api, response); return; }