Skip to content

Commit

Permalink
apacheGH-37720: [Java][FlightSQL] Implement stateless prepared statem…
Browse files Browse the repository at this point in the history
…ents

PR update
  • Loading branch information
stevelorddremio committed May 16, 2024
1 parent 82c3851 commit 367a159
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -948,18 +948,12 @@ public Runnable acceptPutPreparedStatementQuery(CommandPreparedStatementQuery co
}
}

} catch (SQLException e) {
} catch (SQLException | IOException e) {
ackStream.onError(CallStatus.INTERNAL
.withDescription("Failed to bind parameters: " + e.getMessage())
.withCause(e)
.toRuntimeException());
return;
} catch (IOException e) {
ackStream.onError(CallStatus.INTERNAL
.withDescription("Failed to bind parameters: " + e.getMessage())
.withCause(e)
.toRuntimeException());
return;
}

ackStream.onCompleted();
Expand Down

0 comments on commit 367a159

Please sign in to comment.