Fix catch to get all exceptions 63/190363/1 accepted/tizen_5.0_unified accepted/tizen/5.0/unified/20181102.021030 accepted/tizen/unified/20181001.150927 submit/tizen/20181001.080809 submit/tizen_5.0/20181101.000004
authorSungbae Yoo <sungbae.yoo@samsung.com>
Mon, 1 Oct 2018 07:59:05 +0000 (16:59 +0900)
committerSungbae Yoo <sungbae.yoo@samsung.com>
Mon, 1 Oct 2018 08:00:49 +0000 (17:00 +0900)
This is for fixing a SVACE issue

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I44f6d6a39a4fbd83b1f3290aae48a188b083749f

tools/cli/ode-admin-cli.cpp

index 7c8247b..377a59e 100644 (file)
@@ -464,7 +464,7 @@ static inline int luks(bool sync,
                else
                        std::cerr << "Wrong arguments (format|open|close|wait)" << std::endl;
                return -1;
-       } catch (const std::runtime_error& e) {
+       } catch (const std::exception& e) {
                std::cerr << e.what() << std::endl;
                return -1;
        }