Skip to content

Commit 11eeb59

Browse files
authored
Merge pull request #449 from pixlise/feature/3d
Kick build, fixes downloader not returning error if it's not a docume…
2 parents 94a6576 + 2709b76 commit 11eeb59

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

api/dataimport/internal/converters/wds/import.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ func (im ImageMaps) Import(importPath string, pseudoIntensityRangesPath string,
182182
}
183183

184184
data.SetPMCData(beamLookup, hkData, spectraLookup, contextImgsPerPMC, pseudoIntensityData, map[int32]string{})
185-
//return data, contextImageSrcDir, nil
186185

187186
return data, importPath, nil
188187
}

api/job/runner/runner.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ func downloadFile(jobLog logger.ILogger, remoteFS fileaccess.FileAccess, bucket
247247
if remoteFS.IsNotFoundError(err) {
248248
return fmt.Errorf("Failed to download s3://%v/%v: Not found", bucket, remotePathAndFile)
249249
}
250+
return fmt.Errorf("Failed to download s3://%v/%v: %v", bucket, remotePathAndFile, err)
250251
} else {
251252
jobLog.Infof(" Downloaded %v bytes", len(data))
252253
}

0 commit comments

Comments
 (0)