feat(bridge-s3): beautify posix write errors

This commit is contained in:
Andrew Mayorov 2024-06-25 14:56:57 +02:00
parent f3ffbd4710
commit fb9afd8313
No known key found for this signature in database
GPG Key ID: 2837C62ACFBFED5D
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ run_aggregated_upload(InstId, ChannelID, Records, #{aggreg_id := AggregId}) ->
?tp(s3_bridge_aggreg_push_ok, #{instance_id => InstId, name => AggregId}),
ok;
{error, Reason} ->
{error, {unrecoverable_error, Reason}}
{error, {unrecoverable_error, emqx_utils:explain_posix(Reason)}}
end.
map_error(Error) ->