0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-04 17:48:35 +02:00

modules/client/profile: Throw out here instead.

This commit is contained in:
Jason Volk 2018-02-27 02:44:32 -08:00
parent cc6cd58755
commit b90d3a9447

View file

@ -168,13 +168,10 @@ get__profile_remote(client &client,
//TODO: conf
if(federation_request.wait(seconds(8)) == ctx::future_status::timeout)
{
cancel(federation_request);
return resource::response
throw http::error
{
client, http::REQUEST_TIMEOUT
http::REQUEST_TIMEOUT
};
}
const http::code &code
{