0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 08:42:34 +01: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)
throw http::error
{
cancel(federation_request);
return resource::response
{
client, http::REQUEST_TIMEOUT
http::REQUEST_TIMEOUT
};
}
const http::code &code
{