Skip to content

Commit

Permalink
kinesis_streams: print api malformed error message to plg_error
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Fala <falamatt@amazon.com>
  • Loading branch information
matthewfala committed Jan 28, 2023
1 parent 08ef05b commit 23b1509
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/out_kinesis_streams/kinesis_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -952,8 +952,8 @@ int put_records(struct flb_kinesis *ctx, struct flush *buf,
flb_sds_destroy(error);
}
else {
/* error could not be parsed, print raw response to debug */
flb_plg_debug(ctx->ins, "Raw response: %s", c->resp.payload);
/* error could not be parsed, print raw response */
flb_plg_error(ctx->ins, "Raw response: %s", c->resp.payload);
}
}
}
Expand Down

0 comments on commit 23b1509

Please sign in to comment.