From 7add8407312ec79831adafc06caa01c0fa60f76e Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 11 Feb 2008 02:03:51 +0000 Subject: better debugging if things go awry --- FS/FS/reason.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FS/FS/reason.pm') diff --git a/FS/FS/reason.pm b/FS/FS/reason.pm index 3c925d4..5ce1848 100644 --- a/FS/FS/reason.pm +++ b/FS/FS/reason.pm @@ -153,7 +153,7 @@ sub _upgrade_data { # class method foreach (@sql) { my $sth = $dbh->prepare($_) or die $dbh->errstr; - $sth->execute or die $dbh->errstr; + $sth->execute or die $sth->errstr; } } } -- cgit v1.1