Import_process: Pass the right variable for error (#26819)

We were passing the incorrect variable, which printed nil
in the logs

```release-note
NONE
```
Этот коммит содержится в:
Agniva De Sarker
2024-04-19 08:28:12 +05:30
коммит произвёл GitHub
родитель b4b760274d
Коммит 389990ebe5

Просмотреть файл

@@ -55,7 +55,7 @@ func MakeWorker(jobServer *jobs.JobServer, app AppIface) *jobs.SimpleWorker {
// We simply read the file from the local filesystem.
info, err := os.Stat(importFileName)
if errors.Is(err, os.ErrNotExist) {
return fmt.Errorf("file %s doesn't exist.", importFile)
return fmt.Errorf("file %s doesn't exist.", importFileName)
}
importFileSize = info.Size()