summaryrefslogtreecommitdiff
path: root/shared/shadow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shared/shadow.cpp')
-rw-r--r--shared/shadow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/shadow.cpp b/shared/shadow.cpp
index 81f19d20..3909c37b 100644
--- a/shared/shadow.cpp
+++ b/shared/shadow.cpp
@@ -102,7 +102,7 @@ ShadowCopy::~ShadowCopy()
Zstring ShadowCopy::makeShadowCopy(const Zstring& inputFile)
{
- using namespace Shadow;
+ using namespace Shadow;
static const CreateShadowCopyFct createShadowCopy =
Utility::loadDllFunction<CreateShadowCopyFct>(getShadowDllName().c_str(), createShadowCopyFctName);
@@ -175,7 +175,7 @@ Zstring ShadowCopy::makeShadowCopy(const Zstring& inputFile)
wxString errorMsg = _("Error copying locked file %x!");
errorMsg.Replace(wxT("%x"), Zstring(wxT("\"")) + inputFile + wxT("\""));
throw FileError(errorMsg + wxT("\n\n") + _("Error starting Volume Shadow Copy Service!") + wxT("\n") +
- wxT("(") + errorMessage + wxT(")"));
+ wxT("(") + errorMessage + wxT(" Volume: \"") + volumeNameFormatted.c_str() + wxT("\")"));
}
realVolumeLast = volumeNameFormatted;
bgstack15