SVACE: fix NO_CATCH 11/157411/2
authorKrzysztof Dynowski <k.dynowski@samsung.com>
Tue, 24 Oct 2017 10:38:51 +0000 (12:38 +0200)
committerLukasz Kostyra <l.kostyra@samsung.com>
Tue, 24 Oct 2017 10:43:01 +0000 (12:43 +0200)
Change-Id: I91ebb7616216d26f68599513c257fad26a272f5b

simulatordaemon/src/SimulatorDaemon.cpp

index 56160b3e18536c7490ffcf76a243222351570b81..f5928f13b25cc593b3df8ac07922325a65b99724 100644 (file)
@@ -125,6 +125,8 @@ int main() {
        } catch (std::exception& e) {
                syslog(LOG_ERR | LOG_USER, "Exception: %s", e.what());
                LOGE(SIM_DAEMON, "Exception: %s", e.what());
+       } catch (...) {
+               LOGE(SIM_DAEMON, "Unknown exception in SimulatorDaemon");
        }
        stopServer(ioService::getInstance());
        return result;