From 817fbdd2d132ab6636234387d67ae56ae1eee7d3 Mon Sep 17 00:00:00 2001 From: sophia Date: Thu, 12 Jan 2023 16:34:45 -0800 Subject: [PATCH] Add information about lock file path --- lib/vagrant/action/builtin/box_add.rb | 3 ++- templates/locales/en.yml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/vagrant/action/builtin/box_add.rb b/lib/vagrant/action/builtin/box_add.rb index ec8c04761..80d5b10ce 100644 --- a/lib/vagrant/action/builtin/box_add.rb +++ b/lib/vagrant/action/builtin/box_add.rb @@ -485,7 +485,8 @@ module Vagrant mutex_path = d.destination + MUTEX_SUFFIX if File.file?(mutex_path) raise Errors::DownloadAlreadyInProgress, - dest_path: d.destination + dest_path: d.destination, + lock_file_path: mutex_path end begin diff --git a/templates/locales/en.yml b/templates/locales/en.yml index a20c6ce79..095f83384 100644 --- a/templates/locales/en.yml +++ b/templates/locales/en.yml @@ -901,6 +901,7 @@ en: a file to the same location. Download path: %{dest_path} + Lock file path: %{lock_file_path} downloader_error: |- An error occurred while downloading the remote file. The error message, if any, is reproduced below. Please fix this error and try