diff options
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/db/DBMetaData.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/wizards/com/sun/star/wizards/db/DBMetaData.java b/wizards/com/sun/star/wizards/db/DBMetaData.java index 39c4f84f7871..a75009cff511 100644 --- a/wizards/com/sun/star/wizards/db/DBMetaData.java +++ b/wizards/com/sun/star/wizards/db/DBMetaData.java @@ -856,11 +856,12 @@ public class DBMetaData callSQLErrorMessageDialog(sqlError, null); return false; } - exception.printStackTrace(System.err); + Logger.getLogger( DBMetaData.class.getName() ).log( Level.SEVERE, null, exception ); } catch (SQLException e) { - Logger.getLogger( DBMetaData.class.getName() ).log( Level.SEVERE, null, e ); + callSQLErrorMessageDialog(e, null); + return false; } catch (Exception e) { |