[freeside-commits] freeside/FS/FS Upgrade.pm,1.1.2.11,1.1.2.12
Ivan,,,
ivan at wavetail.420.am
Tue Jun 10 16:26:17 PDT 2008
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv20138
Modified Files:
Tag: FREESIDE_1_7_BRANCH
Upgrade.pm
Log Message:
start of better error reporting for RADIUS upgrade errors
Index: Upgrade.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Upgrade.pm,v
retrieving revision 1.1.2.11
retrieving revision 1.1.2.12
diff -u -d -r1.1.2.11 -r1.1.2.12
--- Upgrade.pm 10 Jun 2008 23:24:17 -0000 1.1.2.11
+++ Upgrade.pm 10 Jun 2008 23:26:15 -0000 1.1.2.12
@@ -141,7 +141,7 @@
$sth_update->execute or die $errmsg.$sth_update->errstr;
} else {
my $error = $sth_alter->errstr;
- warn $errmsg.$error; #unless $error =~ /exists/i;
+ warn $errmsg.$error unless $error =~ /Duplicate column name/i;
}
} else {
my $error = $dbh->errstr;
More information about the freeside-commits
mailing list