in reply to Re^3: Redirect expect screen output to file
in thread Redirect expect screen output to file
Hi,
'custom_error' subroutine does database update as 'failed' that's it.
sub custom_error { my $error = shift; my $id = shift; my $end_time = time(); INFO("Error : $error"); INFO("Updating as failed"); # Updating table as failed.. exit 1; }
|
|---|