Skip to content

Commit

Permalink
style: for feature: show full stack trace in message dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
akardapolov committed Aug 14, 2019
1 parent 82c8c07 commit 81d50b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
6 changes: 0 additions & 6 deletions ashv/src/main/java/core/processing/GetFromRemoteAndStore.java
Original file line number Diff line number Diff line change
Expand Up @@ -531,12 +531,6 @@ private int getColumnIdForCol(String filterCol){

private void initializeConnection() throws SQLException {
this.connection = this.remoteDBManager.getConnection();

/*try {
this.connection = this.remoteDBManager.getConnection();
} catch (Exception e) {
log.error(StackTraceUtil.getCustomStackTrace(e));
}*/
}

private List<SqlColMetadata> loadSqlMetaData(String sqlName, String sqlText) {
Expand Down
10 changes: 2 additions & 8 deletions ashv/src/main/java/remote/RemoteDBManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,8 @@ public void init(ConnectionMetadata connectionMetadata) {
}

public Connection getConnection() throws SQLException {
/*Connection connection = null;
try {
connection = this.basicDataSource.getConnection();
} catch (SQLException e) {
log.error(StackTraceUtil.getCustomStackTrace(e));
}*/

return this.basicDataSource.getConnection();
Connection connection = this.basicDataSource.getConnection();
return connection;
}

private ClassLoader getClassLoader()throws ClassNotFoundException, InstantiationException, IllegalAccessException, MalformedURLException {
Expand Down

0 comments on commit 81d50b7

Please sign in to comment.