Improved file-not-found handling (#1508)

This commit is contained in:
John Kerl 2024-02-26 00:12:31 -05:00 committed by GitHub
parent 3201f9c675
commit aff4b9f32d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
43 changed files with 85 additions and 61 deletions

View file

@ -71,8 +71,9 @@ func (reader *RecordReaderXTAB) Read(
)
if err != nil {
errorChannel <- err
} else {
reader.processHandle(handle, "(stdin)", &context, readerChannel, errorChannel, downstreamDoneChannel)
}
reader.processHandle(handle, "(stdin)", &context, readerChannel, errorChannel, downstreamDoneChannel)
} else {
for _, filename := range filenames {
handle, err := lib.OpenFileForRead(