From: gyeongseok.seo Date: Fri, 14 Jun 2013 00:54:09 +0000 (+0900) Subject: [Title] Fixed sonar error X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=79e2a60bf9534908245e79a7a37b1525ed6a058f;p=sdk%2Ftools%2Fcli.git [Title] Fixed sonar error [Desc.] [Issue] Change-Id: I182c2b7cc1bbfd768a530e1629f535ab861b9885 --- diff --git a/org.tizen.cli/src/org/tizen/cli/exec/WRTLauncher.java b/org.tizen.cli/src/org/tizen/cli/exec/WRTLauncher.java index 4b80cd1..86f7c2a 100755 --- a/org.tizen.cli/src/org/tizen/cli/exec/WRTLauncher.java +++ b/org.tizen.cli/src/org/tizen/cli/exec/WRTLauncher.java @@ -163,14 +163,10 @@ extends AbstractLauncher String sdbPath = InstallPathConfig.getSDBPath(); logger.trace( "sdb lib Path :{}", sdbPath ); - SmartDevelopmentBridge bridge = null; - try { - bridge = SmartDevelopmentBridge.createBridge(sdbPath, true); - - // wait sdb start - } catch (Throwable t) { - // don't throw exception parent - logger.error("Problem occurred while initializing sdb", t.getMessage(), t); + SmartDevelopmentBridge bridge = SmartDevelopmentBridge.createBridge(sdbPath, true); + + if ( null == bridge ) { + prompter.notify( "Problem occurred while initializing sdb" ); } if (OSChecker.isWindows()) {