From 854b23619c16905005624608ce358c3ac0f06462 Mon Sep 17 00:00:00 2001
From: Steve Trevanion <st3@sanger.ac.uk>
Date: Wed, 26 Mar 2008 13:55:12 +0000
Subject: [PATCH] *** empty log message ***

---
 modules/Bio/EnsEMBL/Utils/ConversionSupport.pm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/Bio/EnsEMBL/Utils/ConversionSupport.pm b/modules/Bio/EnsEMBL/Utils/ConversionSupport.pm
index a4edca4754..12402bce84 100644
--- a/modules/Bio/EnsEMBL/Utils/ConversionSupport.pm
+++ b/modules/Bio/EnsEMBL/Utils/ConversionSupport.pm
@@ -733,6 +733,8 @@ sub get_dbconnection {
     $dsn .= ";dbname=".$self->param("${prefix}dbname");
   }
 
+#  warn $dsn;
+
   my $dbh;
   eval{
     $dbh = DBI->connect($dsn, $self->param("${prefix}user"),
@@ -742,7 +744,7 @@ sub get_dbconnection {
   if (!$dbh || $@ || !$dbh->ping) {
     $self->log_error("Could not connect to db server as user ".
       $self->param("${prefix}user") .
-      " using [$dsn] as a locator:\n" . $DBI::errstr);
+      " using [$dsn] as a locator:\n" . $DBI::errstr . $@);
   }
 
   $self->{'_dbh'} = $dbh;
-- 
GitLab