- Timestamp:
- 07/15/05 16:34:02 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/cgi-bin/main.cgi
r264 r265 112 112 113 113 if ($@) { 114 carp "Transaction aborted because $@"; 114 my $msg = $@; 115 carp "Transaction aborted because $msg"; 115 116 eval { $ip_dbh->rollback; }; 116 syslog "err", "Could not add master block '$webvar{cidr}' to database: '$ @'";117 printError("Could not add master block $webvar{cidr} to database: $ @");117 syslog "err", "Could not add master block '$webvar{cidr}' to database: '$msg'"; 118 printError("Could not add master block $webvar{cidr} to database: $msg"); 118 119 } else { 119 120 print "<div type=heading align=center>Success!</div>\n";
Note:
See TracChangeset
for help on using the changeset viewer.