diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-04-18 13:30:46 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-05-19 03:43:28 +0200 |
commit | 269a7a72b3d97278df17a8010c4264cfb1053d26 (patch) | |
tree | 5f8f681d4eb1fe1a7f69f8315d0046577705eb33 /desktop | |
parent | c74e0deca5e4bd7b5eb5591d1bb220bbe81627eb (diff) |
protect the downloading of the update info also with try..catch
Change-Id: Ie3f2687670b02d8af85016c25b49cb42517701b9
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/updater.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx index a4bf6d6e9d81..dffafcbcde53 100644 --- a/desktop/source/app/updater.cxx +++ b/desktop/source/app/updater.cxx @@ -517,10 +517,10 @@ void update_checker() "/" + aBuildID + "/" + aBuildTarget + "/" + "/" + aChannel; OString aURL = OUStringToOString(aDownloadCheckURL, RTL_TEXTENCODING_UTF8); - std::string response_body = download_content(aURL, false); try { + std::string response_body = download_content(aURL, false); if (!response_body.empty()) { update_info aUpdateInfo = parse_response(response_body); |