Fix for SVACE NO_CATCH warning 53/157053/3
authorJaroslaw Pelczar <j.pelczar@samsung.com>
Fri, 20 Oct 2017 15:59:20 +0000 (17:59 +0200)
committerLukasz Kostyra <l.kostyra@samsung.com>
Tue, 24 Oct 2017 08:49:12 +0000 (10:49 +0200)
Change-Id: I6950fab634aa6c6f2c448aaa7cfc0c3a1978c464
Signed-off-by: Jaroslaw Pelczar <j.pelczar@samsung.com>
TEEStub/teestubmain.cpp

index d62e74ae1255ebdd826444273835968da428bf8c..0ffdb15acc3924dac023d2a6f10c17cc268f0a0b 100644 (file)
@@ -54,6 +54,8 @@ void StartServer(string socketName) {
                io_service.run();
        } catch (std::exception& e) {
                LOGE(TEE_STUB, "Exception: %s", e.what());
+       } catch (...) {
+               LOGE(TEE_STUB, "Unknown exception");
        }
 }