summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2008-06-10 23:26:15 +0000
committerivan <ivan>2008-06-10 23:26:15 +0000
commitb06bcd3e4210dc87fc1ad7b511db320c6bf64a82 (patch)
treefc314503d16e8767a295bfd9a3476f80da8fb6c3 /FS
parent49e71fe76afbadf491d74070e9b91b306080c112 (diff)
start of better error reporting for RADIUS upgrade errors
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/Upgrade.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/Upgrade.pm b/FS/FS/Upgrade.pm
index b4fc82bf6..befc36f71 100644
--- a/FS/FS/Upgrade.pm
+++ b/FS/FS/Upgrade.pm
@@ -141,7 +141,7 @@ sub upgrade_sqlradius {
$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;