summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-04-19 13:28:02 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-05-19 03:43:29 +0200
commitda48be8fbdb53d77b349653453c19c1ac7061e38 (patch)
tree122d1b15f8f12e461aab8d60bcabf7acb3249ba0 /desktop
parentceca7929df1bfbd5072d40025f592cf67469afa6 (diff)
don't crash when we get bad response
Change-Id: I4bc68e9f9604a8a39f36f10434571cd9fbb48ae1
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/updater.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx
index b6abf4c01b74..a700527a43b9 100644
--- a/desktop/source/app/updater.cxx
+++ b/desktop/source/app/updater.cxx
@@ -522,6 +522,10 @@ void update_checker()
{
SAL_WARN("desktop.updater", "error during the update check");
}
+ catch (...)
+ {
+ SAL_WARN("desktop.updater", "unknown error during the update check");
+ }
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */