fix: add log for timeout

This commit is contained in:
Stefan Strigler 2023-01-13 14:45:44 +01:00
parent 376dab7cd8
commit edfcea7f43
1 changed files with 4 additions and 0 deletions

View File

@ -417,6 +417,10 @@ do_get_status(PoolName, Timeout) ->
end end
catch catch
exit:timeout -> exit:timeout ->
?SLOG(error, #{
msg => "http_connector_pmap_failed",
reason => timeout
}),
{error, timeout} {error, timeout}
end. end.