Change unexpected error to show on klay logger 39/180039/1
authorSungbae Yoo <sungbae.yoo@samsung.com>
Thu, 24 May 2018 09:31:06 +0000 (18:31 +0900)
committerSungbae Yoo <sungbae.yoo@samsung.com>
Thu, 24 May 2018 09:32:43 +0000 (18:32 +0900)
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I4676cfb1e3642a67d91e8a7f5bcf406320a0c75b

server/main.cpp

index 2ad0049ad2cf532cf58539bcbc64a8b620b1165d..29da30710e7ab902f0132d8618ea8a5069a66807 100644 (file)
@@ -42,7 +42,7 @@ int main(int argc, char *argv[])
                Server server;
                server.run();
        } catch (runtime::Exception &e) {
-               std::cerr << e.what() << std::endl;
+               ERROR("Unexpected error : " + std::string(e.what()));
                return 1;
        }