Skip to content

Commit

Permalink
sqlsh does not print error message when query fails
Browse files Browse the repository at this point in the history
  • Loading branch information
libenchao committed Jan 15, 2024
1 parent e74ff3e commit a40cb87
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ void run() throws SQLException {
final ResultSet r = s.executeQuery(b.toString());
format.output(out, r);
r.close();
} catch (Throwable t) {
t.printStackTrace(err);
} finally {
out.flush();
}
Expand Down

0 comments on commit a40cb87

Please sign in to comment.