Browse files

updated error messages

  • Loading branch information...
1 parent 76c6ddc commit abd7ca29cd46e1b4bec2f8d7a0cf65e3a667eae4 @cwensel committed May 26, 2009
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/java/cascading/jdbc/JDBCTap.java
View
6 src/java/cascading/jdbc/JDBCTap.java
@@ -496,7 +496,8 @@ public boolean makeDirs( JobConf conf ) throws IOException
}
catch( TapException exception )
{
- LOG.warn( "unable to create table: {}", tableDesc.tableName, exception.getCause() );
+ LOG.warn( "unable to create table: {}", tableDesc.tableName );
+ LOG.warn( "sql failure", exception.getCause() );
return false;
}
@@ -520,7 +521,8 @@ public boolean deletePath( JobConf conf ) throws IOException
}
catch( TapException exception )
{
- LOG.warn( "unable to drop table: {}", tableDesc.tableName, exception.getCause() );
+ LOG.warn( "unable to drop table: {}", tableDesc.tableName );
+ LOG.warn( "sql failure", exception.getCause() );
return false;
}

0 comments on commit abd7ca2

Please sign in to comment.