File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
packages/cubejs-jdbc-driver/src Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -137,14 +137,18 @@ export class JDBCDriver extends BaseDriver {
137137
138138 this . pool = genericPool . createPool ( {
139139 create : async ( ) => {
140- await initMvn ( await this . getCustomClassPath ( ) ) ;
140+ console . log ( "before await this.getCustomClassPath()" ) ;
141+ const ccp = await this . getCustomClassPath ( ) ;
142+ console . log ( "before await initMvn(ccp)" ) ;
143+ await initMvn ( ccp ) ;
141144
142145 if ( ! this . jdbcProps ) {
143146 /** @protected */
144147 this . jdbcProps = this . getJdbcProperties ( ) ;
145148 }
146149
147150 const getConnection = promisify ( DriverManager . getConnection . bind ( DriverManager ) ) ;
151+ console . log ( "new Connection this.config.url" , this . config . url ) ;
148152 return new Connection ( await getConnection ( this . config . url , this . jdbcProps ) ) ;
149153 } ,
150154 // @ts -expect-error Promise<Function> vs Promise<void>
You can’t perform that action at this time.
0 commit comments