diff --git a/server/channels/jobs/import_process/worker.go b/server/channels/jobs/import_process/worker.go index 90e640cf637..724291ebbd4 100644 --- a/server/channels/jobs/import_process/worker.go +++ b/server/channels/jobs/import_process/worker.go @@ -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()