Commit 564b665d authored by Paweł Wegner's avatar Paweł Wegner

GooglePhotos: changed caught exception type.

parent e2ae3453
......@@ -207,7 +207,7 @@ ICloudProvider::GeneralDataRequest::Pointer GooglePhotos::getGeneralDataAsync(
if (j["type"].asString() == "account")
result.username_ = j["value"].asString();
r->done(result);
} catch (const Json::Exception &e) {
} catch (const std::exception &e) {
r->done(Error{IHttpRequest::Failure, e.what()});
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment