diff --git a/hystrix/src/main/java/com/redhat/lightblue/hystrix/rdbms/ExecuteSQLCommand.java b/hystrix/src/main/java/com/redhat/lightblue/hystrix/rdbms/ExecuteSQLCommand.java index 1c57861..5b3b24b 100644 --- a/hystrix/src/main/java/com/redhat/lightblue/hystrix/rdbms/ExecuteSQLCommand.java +++ b/hystrix/src/main/java/com/redhat/lightblue/hystrix/rdbms/ExecuteSQLCommand.java @@ -53,20 +53,6 @@ public ExecuteSQLCommand(RDBMSContext rdbmsContext, List inputStm this.inputStmt = inputStmt; } - /** - * Unwrap hystrix exception - */ - @Override - public Void execute() { - try { - return super.execute(); - } catch (HystrixBadRequestException br) { - throw (RuntimeException) br.getCause(); - } catch (RuntimeException x) { - throw x; - } - } - @Override protected Void run() { try { diff --git a/pom.xml b/pom.xml index 4f46c01..926558e 100644 --- a/pom.xml +++ b/pom.xml @@ -218,6 +218,12 @@ sonar http://127.0.0.1:8080 lightblue-rdbms + + + true + true + lines,vars,source + true