summaryrefslogtreecommitdiffstats
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 02:48:55 +0200
commit0f9206c27b1ac704d927d46500c10a20334f1eee (patch)
tree72a40b599cf8fe138602ee8e6c02728f2bc96388
parentignore SIGPIPE in glx test process (diff)
downloadcore-0f9206c27b1ac704d927d46500c10a20334f1eee.tar.gz
core-0f9206c27b1ac704d927d46500c10a20334f1eee.zip
don't crash when we get bad response
Change-Id: I4bc68e9f9604a8a39f36f10434571cd9fbb48ae1
-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: */