feat(bridge-s3): beautify posix write errors
This commit is contained in:
parent
f3ffbd4710
commit
fb9afd8313
|
@ -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) ->
|
||||
|
|
Loading…
Reference in New Issue