Skip to content

Commit

Permalink
Fix Java RuntimeException for failed queries.
Browse files Browse the repository at this point in the history
  • Loading branch information
izikorgad committed Apr 12, 2018
1 parent 4bfa910 commit 7d48538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resultset.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ ResultSet.prototype.toObjectIter = function (callback) {
next: function () {
var nextRow;
try {
nextRow = self._rs.nextSync(); // this row can lead to JavaRunTimeException - sould be cathced.
nextRow = self._rs.nextSync(); // this row can lead to Java RuntimeException - sould be cathced.
}
catch (error) {
callback(error);
Expand Down

0 comments on commit 7d48538

Please sign in to comment.