added network error to excluded errors in coc file availability check

This commit is contained in:
Infineon\StieberD 2025-03-12 13:17:33 -07:00
parent 86595476d5
commit 8f339106bd

View File

@ -159,7 +159,8 @@ Service CheckFileAvailability(StartDate, EndDate)
Database_Services('WriteDataRow', 'COC', COCNo, NewCOC, True$, False$, False$)
end
end else
If Count(ErrTest, 'ssh_init') EQ 0 then
// Ignore ssh_init and network errors
If ( (IndexC(ErrTest, 'ssh_init', 1) EQ 0) and (IndexC(ErrTest, 'Network error', 1) EQ 0 ) ) then
Error_Services('Add', 'Expected file for shipment ' : COCNo : ' missing.')
NewCOC<COC_FTP_EXISTS$> = False$
Database_Services('WriteDataRow', 'COC', COCNo, NewCOC, True$, False$, False$)
@ -341,6 +342,3 @@ CompanyExceptionCheck:
return