Import_process: Pass the right variable for error (#26819)
We were passing the incorrect variable, which printed nil in the logs ```release-note NONE ```
Этот коммит содержится в:
коммит произвёл
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()
|
||||
|
||||
Ссылка в новой задаче
Block a user