Skip to content

Commit

Permalink
out_cloudwatch_logs: enhance api error response readability
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Fala <[email protected]>
  • Loading branch information
matthewfala authored and edsiper committed Nov 6, 2023
1 parent def4ac2 commit 94d9fbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aws/flb_aws_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 94d9fbf

Please sign in to comment.