Changeset 17 for trunk/cgi-bin/main.cgi
- Timestamp:
- 10/25/04 17:33:36 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/main.cgi
r13 r17 138 138 carp "Transaction aborted because $@"; 139 139 eval { $ip_dbh->rollback; }; 140 syslog "err or", "Could not add master block '$webvar{cidr}' to database: '$@'";140 syslog "err", "Could not add master block '$webvar{cidr}' to database: '$@'"; 141 141 printAndExit("Could not add master block $webvar{cidr} to database"); 142 142 } … … 947 947 if ($sth->err) { 948 948 printAndExit("Allocation of $cidr to $webvar{custid} failed: '".$sth->errstr."'"); 949 syslog "err or", "Allocation of $cidr to $webvar{custid} by $authuser failed: ".949 syslog "err", "Allocation of $cidr to $webvar{custid} by $authuser failed: ". 950 950 "'".$sth->errstr."'"; 951 951 } … … 998 998 carp "Transaction aborted because $@"; 999 999 eval { $ip_dbh->rollback; }; 1000 syslog "err or", "Allocation of '$webvar{fullcidr}' to '$webvar{custid}' as ".1000 syslog "err", "Allocation of '$webvar{fullcidr}' to '$webvar{custid}' as ". 1001 1001 "'$webvar{alloctype}' by $authuser failed: '$@'"; 1002 1002 printAndExit("Allocation of $cidr as $full_alloc_types{$webvar{alloctype}} failed.\n"); … … 1064 1064 carp "Transaction aborted because $@"; 1065 1065 eval { $ip_dbh->rollback; }; 1066 syslog "err or", "Allocation of '$webvar{fullcidr}' to '$webvar{custid}' as ".1066 syslog "err", "Allocation of '$webvar{fullcidr}' to '$webvar{custid}' as ". 1067 1067 "'$webvar{alloctype}' by $authuser failed: '$@'"; 1068 1068 printAndExit("Allocation of $cidr as $full_alloc_types{$webvar{alloctype}} failed.\n"); … … 1090 1090 carp "Transaction aborted because $@"; 1091 1091 eval { $ip_dbh->rollback; }; 1092 syslog "err or", "Initialization of pool '$webvar{fullcidr}' by $authuser failed: '$@'";1092 syslog "err", "Initialization of pool '$webvar{fullcidr}' by $authuser failed: '$@'"; 1093 1093 printAndExit("$full_alloc_types{$webvar{alloctype}} $webvar{fullcidr} not completely initialized."); 1094 1094 } … … 1232 1232 carp "Transaction aborted because $@"; 1233 1233 eval { $ip_dbh->rollback; }; 1234 syslog "err or", "$authuser could not update block/IP '$webvar{block}': '$@'";1234 syslog "err", "$authuser could not update block/IP '$webvar{block}': '$@'"; 1235 1235 printAndExit("Could not update block/IP $webvar{block}"); 1236 1236 } … … 1371 1371 carp "Transaction aborted because $@"; 1372 1372 eval { $ip_dbh->rollback; }; 1373 syslog "err or", "$authuser could not deallocate static IP '$webvar{block}': '$@'";1373 syslog "err", "$authuser could not deallocate static IP '$webvar{block}': '$@'"; 1374 1374 printAndExit("Could not deallocate static IP $webvar{block}"); 1375 1375 } … … 1389 1389 carp "Transaction aborted because $@"; 1390 1390 eval { $ip_dbh->rollback; }; 1391 syslog "err or", "$authuser could not remove master block '$webvar{block}': '$@'";1391 syslog "err", "$authuser could not remove master block '$webvar{block}': '$@'"; 1392 1392 printAndExit("Could not remove master block $webvar{block}"); 1393 1393 } … … 1485 1485 carp "Transaction aborted because $@"; 1486 1486 eval { $ip_dbh->rollback; }; 1487 syslog "err or", "$authuser could not deallocate netblock '$webvar{block}': '$@'";1487 syslog "err", "$authuser could not deallocate netblock '$webvar{block}': '$@'"; 1488 1488 printAndExit("Could not deallocate netblock $webvar{block}"); 1489 1489 }
Note:
See TracChangeset
for help on using the changeset viewer.